Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.002093/0.002093, allocations: 99.53 kB / 21.74 MB, free: 2.688 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.001936/0.001936, allocations: 161.4 kB / 25.03 MB, free: 8.926 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.774e-05, allocations: 6.109 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004871/0.004908, allocations: 2.712 MB / 253.1 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.006452, allocations: 0.6708 MB / 253.8 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.006608, allocations: 4 kB / 253.8 MB, free: 4.414 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.006795, allocations: 47.5 kB / 253.8 MB, free: 4.367 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.007043, allocations: 95.14 kB / 253.9 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.007363, allocations: 91.8 kB / 254 MB, free: 4.184 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.007906, allocations: 390.3 kB / 254.4 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.00815, allocations: 83.31 kB / 254.5 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.008518, allocations: 227.4 kB / 254.7 MB, free: 3.496 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.008761, allocations: 127.6 kB / 254.8 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.008836, allocations: 32 kB / 254.8 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.008911, allocations: 36 kB / 254.9 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.009006, allocations: 71.69 kB / 254.9 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.009187, allocations: 115.7 kB / 255 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.009771, allocations: 394.8 kB / 255.4 MB, free: 2.734 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.009776, allocations: 0 / 255.4 MB, free: 2.734 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.009777, allocations: 0 / 255.4 MB, free: 2.734 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.009785, allocations: 4 kB / 255.4 MB, free: 2.73 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001385/0.01117, allocations: 0.6698 MB / 256.1 MB, free: 2.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.01122, allocations: 16.02 kB / 256.1 MB, free: 2.004 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.01136, allocations: 56.7 kB / 256.2 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.01177, allocations: 229 kB / 256.4 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.0118, allocations: 20.88 kB / 256.4 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.01185, allocations: 24.38 kB / 256.4 MB, free: 1.648 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007033/0.01256, allocations: 348.4 kB / 256.8 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.01257, allocations: 192 / 256.8 MB, free: 1.281 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.0126, allocations: 16.25 kB / 256.8 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.01261, allocations: 11.94 kB / 256.8 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.01326, allocations: 213.9 kB / 257 MB, free: 1.047 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.01523, allocations: 1.082 MB / 258.1 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.01585, allocations: 179.1 kB / 258.3 MB, free: 15.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.0161, allocations: 79.64 kB / 258.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.01614, allocations: 0 / 258.4 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.01661, allocations: 211.5 kB / 258.6 MB, free: 15.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.01661, allocations: 0 / 258.6 MB, free: 15.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001728/0.01833, allocations: 365.1 kB / 258.9 MB, free: 15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.01846, allocations: 106.8 kB / 259 MB, free: 14.87 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.01893, allocations: 356.2 kB / 259.4 MB, free: 14.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.01897, allocations: 33.64 kB / 259.4 MB, free: 14.47 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.01922, allocations: 262.7 kB / 259.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.01927, allocations: 43.69 kB / 259.7 MB, free: 14.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.01941, allocations: 67.55 kB / 259.8 MB, free: 14.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003631/0.01977, allocations: 0.5118 MB / 260.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.02007, allocations: 105.9 kB / 260.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.02057, allocations: 312.5 kB / 260.7 MB, free: 13.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.02121, allocations: 317 kB / 261 MB, free: 12.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.02122, allocations: 4 kB / 261 MB, free: 12.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001032/0.02225, allocations: 419.6 kB / 261.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.0223, allocations: 33.7 kB / 261.4 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.02231, allocations: 8.391 kB / 261.5 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.02283, allocations: 95.62 kB / 261.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.02306, allocations: 39.92 kB / 261.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.02599, allocations: 2.065 MB / 263.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.02631, allocations: 39.81 kB / 263.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.02634, allocations: 8 kB / 263.7 MB, free: 9.844 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.02656, allocations: 188.5 kB / 263.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.02661, allocations: 27.8 kB / 263.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.02667, allocations: 25.77 kB / 263.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.02667, allocations: 8 kB / 263.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.02667, allocations: 0 / 263.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.02668, allocations: 0 / 263.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.02702, allocations: 248.7 kB / 264.2 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.02702, allocations: 4 kB / 264.2 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.02711, allocations: 19.92 kB / 264.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/0.02753, allocations: 87.61 kB / 264.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.02755, allocations: 7.938 kB / 264.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/0.03005, allocations: 2.033 MB / 266.3 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03005, allocations: 0 / 266.3 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.03086, allocations: 271.7 kB / 266.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.03098, allocations: 39.81 kB / 266.6 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.03102, allocations: 11.94 kB / 266.7 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.03121, allocations: 20.16 kB / 266.7 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.03133, allocations: 31.95 kB / 266.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.03134, allocations: 0 / 266.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.03161, allocations: 241.1 kB / 266.9 MB, free: 6.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03161, allocations: 0 / 266.9 MB, free: 6.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.03202, allocations: 83.84 kB / 267 MB, free: 6.312 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.03218, allocations: 103.2 kB / 267.1 MB, free: 6.203 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.03319, allocations: 477.4 kB / 267.6 MB, free: 5.699 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03319, allocations: 0 / 267.6 MB, free: 5.699 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.03367, allocations: 286.1 kB / 267.9 MB, free: 5.398 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.03399, allocations: 40.47 kB / 267.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.03508, allocations: 447.4 kB / 268.3 MB, free: 4.895 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.03525, allocations: 146.9 kB / 268.5 MB, free: 4.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.03535, allocations: 22.3 kB / 268.5 MB, free: 4.711 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.03542, allocations: 24.5 kB / 268.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03542, allocations: 0 / 268.5 MB, free: 4.688 MB / 250.7 MB Notification: Performance of Templates: time 0.01041/0.04583, allocations: 4.101 MB / 272.6 MB, free: 0.6133 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.663046569097787]