Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9475/0.9475, allocations: 177.2 MB / 205 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.652e-05, allocations: 4.984 kB / 273 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006138/0.006175, allocations: 4.42 MB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.008893, allocations: 1.265 MB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.009294, allocations: 19.88 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005018/0.009796, allocations: 134.8 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.01037, allocations: 226 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.01102, allocations: 219.5 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.0123, allocations: 0.7977 MB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.01269, allocations: 179.1 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.0133, allocations: 443 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.01362, allocations: 255.1 kB / 281 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.0137, allocations: 64 kB / 281 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.01381, allocations: 68 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.0139, allocations: 151.4 kB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.01409, allocations: 247.4 kB / 281.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.01466, allocations: 0.4942 MB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.01466, allocations: 3.984 kB / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01467, allocations: 0 / 282 MB, free: 8.344 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.01468, allocations: 0 / 282 MB, free: 8.344 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001167/0.01584, allocations: 1.041 MB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.01588, allocations: 8.031 kB / 283 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.01611, allocations: 136.5 kB / 283.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/0.0165, allocations: 366.3 kB / 283.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.01653, allocations: 45.69 kB / 283.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.01659, allocations: 52.38 kB / 283.6 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.0172, allocations: 0.6265 MB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01721, allocations: 4.188 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.01725, allocations: 23.94 kB / 284.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.01726, allocations: 12 kB / 284.3 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.01757, allocations: 207.7 kB / 284.5 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.01934, allocations: 1.614 MB / 286.1 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.01977, allocations: 292.5 kB / 286.4 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.02027, allocations: 364.6 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.0203, allocations: 16.27 kB / 286.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.02061, allocations: 430.7 kB / 287.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 1.382e-06/0.02062, allocations: 0 / 287.2 MB, free: 2.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=41): time 0.00151/0.02213, allocations: 0.8119 MB / 288 MB, free: 2.012 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.02221, allocations: 239.3 kB / 288.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.02254, allocations: 446.5 kB / 288.7 MB, free: 1.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.02256, allocations: 37.7 kB / 288.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.02273, allocations: 359.5 kB / 289.1 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.91e-05/0.02281, allocations: 158.7 kB / 289.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.546e-05/0.0229, allocations: 91.84 kB / 289.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.02303, allocations: 0.5274 MB / 289.8 MB, free: 80 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.02314, allocations: 72.95 kB / 289.9 MB, free: 8 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1022/0.1253, allocations: 480.9 kB / 290.4 MB, free: 24.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1256, allocations: 345.8 kB / 290.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1256, allocations: 5.094 kB / 290.7 MB, free: 24.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008426/0.1265, allocations: 0.5523 MB / 291.3 MB, free: 24.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1265, allocations: 11.75 kB / 291.3 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1265, allocations: 3.281 kB / 291.3 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.1271, allocations: 235.9 kB / 291.5 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1273, allocations: 82.83 kB / 291.6 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.1291, allocations: 2.76 MB / 294.3 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1293, allocations: 73.41 kB / 294.4 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1293, allocations: 19.72 kB / 294.4 MB, free: 22.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.1294, allocations: 191.5 kB / 294.6 MB, free: 22.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.1295, allocations: 67.19 kB / 294.7 MB, free: 22.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.1295, allocations: 52.44 kB / 294.7 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1295, allocations: 8.438 kB / 294.7 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1295, allocations: 0.6562 kB / 294.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1296, allocations: 3.203 kB / 294.8 MB, free: 22.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009725/0.1305, allocations: 0.9402 MB / 295.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1305, allocations: 0.5469 kB / 295.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.1306, allocations: 42.34 kB / 295.7 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.1311, allocations: 239.1 kB / 296 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1311, allocations: 11.39 kB / 296 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1326, allocations: 2.718 MB / 298.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1326, allocations: 1.062 kB / 298.7 MB, free: 20.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.1333, allocations: 0.6809 MB / 299.4 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.1334, allocations: 55.58 kB / 299.4 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.1334, allocations: 12.05 kB / 299.4 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1336, allocations: 41.12 kB / 299.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.1336, allocations: 31.8 kB / 299.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1336, allocations: 12.67 kB / 299.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1338, allocations: 290 kB / 299.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1338, allocations: 0 / 299.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000417/0.1342, allocations: 180.2 kB / 300 MB, free: 19.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001052/0.1343, allocations: 113.1 kB / 300.1 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.1349, allocations: 0.5074 MB / 300.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1349, allocations: 1.25 kB / 300.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.1352, allocations: 390.6 kB / 301 MB, free: 19.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1355, allocations: 65.52 kB / 301.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1367, allocations: 0.8875 MB / 301.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.1368, allocations: 127.4 kB / 302.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1369, allocations: 44.52 kB / 302.1 MB, free: 18.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.1369, allocations: 33.59 kB / 302.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1369, allocations: 4 kB / 302.1 MB, free: 18.52 MB / 266.7 MB Notification: Performance of Templates: time 0.008421/0.1454, allocations: 7.046 MB / 309.2 MB, free: 16.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.874079487286508]