Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001329/0.001329, allocations: 88.7 kB / 21.44 MB, free: 276 kB / 14.72 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.00151/0.00151, allocations: 164.2 kB / 24.71 MB, free: 3.527 MB / 14.72 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.282/1.282, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 179] 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.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 299 MB, free: 8.688 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.854e-05, allocations: 2.281 kB / 299 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.0043/0.004329, allocations: 2.45 MB / 301.4 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.00599, allocations: 0.6825 MB / 302.1 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.006147, allocations: 4 kB / 302.1 MB, free: 5.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.006314, allocations: 39.64 kB / 302.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.006531, allocations: 91.2 kB / 302.2 MB, free: 5.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.006881, allocations: 95.81 kB / 302.3 MB, free: 5.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.007353, allocations: 334.5 kB / 302.7 MB, free: 4.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.007553, allocations: 64.77 kB / 302.7 MB, free: 4.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.007875, allocations: 191.5 kB / 302.9 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.008076, allocations: 99.69 kB / 303 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.008136, allocations: 28 kB / 303 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.008194, allocations: 32 kB / 303.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.008273, allocations: 63.75 kB / 303.1 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.00842, allocations: 91.75 kB / 303.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.008903, allocations: 311 kB / 303.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.008908, allocations: 0 / 303.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.00891, allocations: 0 / 303.5 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.008923, allocations: 4 kB / 303.5 MB, free: 4.102 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001464/0.01039, allocations: 0.5542 MB / 304.1 MB, free: 3.508 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.01044, allocations: 11.98 kB / 304.1 MB, free: 3.496 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.376e-05/0.01052, allocations: 24.8 kB / 304.1 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.01098, allocations: 216.8 kB / 304.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.01101, allocations: 16.69 kB / 304.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.01106, allocations: 28.36 kB / 304.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.0117, allocations: 258.8 kB / 304.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.01171, allocations: 192 / 304.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.01174, allocations: 8.375 kB / 304.6 MB, free: 2.922 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01175, allocations: 7.938 kB / 304.6 MB, free: 2.914 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007868/0.01254, allocations: 243.6 kB / 304.9 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.01398, allocations: 0.6899 MB / 305.6 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.01485, allocations: 222.5 kB / 305.8 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.01517, allocations: 96.72 kB / 305.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01519, allocations: 4 kB / 305.9 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.01568, allocations: 178.7 kB / 306.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.01569, allocations: 0 / 306.1 MB, free: 1.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001899/0.01758, allocations: 485.8 kB / 306.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.01766, allocations: 81.11 kB / 306.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.01792, allocations: 223.4 kB / 306.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.01796, allocations: 33.69 kB / 306.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.0181, allocations: 164.1 kB / 307 MB, free: 404 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.01814, allocations: 43.64 kB / 307.1 MB, free: 360 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.01823, allocations: 45.66 kB / 307.1 MB, free: 308 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.01846, allocations: 330.8 kB / 307.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.01881, allocations: 126.5 kB / 307.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.01921, allocations: 202.1 kB / 307.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/0.01989, allocations: 238.1 kB / 308 MB, free: 15.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01989, allocations: 0 / 308 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001151/0.02104, allocations: 417.4 kB / 308.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.0211, allocations: 45.62 kB / 308.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02111, allocations: 0 / 308.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/0.02159, allocations: 92.78 kB / 308.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.02182, allocations: 43.91 kB / 308.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.02376, allocations: 1.44 MB / 310 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.02406, allocations: 47.91 kB / 310.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.02409, allocations: 8 kB / 310.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004024/0.02449, allocations: 201.8 kB / 310.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003467/0.02484, allocations: 194 kB / 310.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005556/0.02539, allocations: 234.5 kB / 310.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.333e-06/0.02539, allocations: 0 / 310.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007795/0.02617, allocations: 329.5 kB / 311 MB, free: 12.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.02622, allocations: 33.7 kB / 311 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.02622, allocations: 0 / 311 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-05/0.0263, allocations: 24.84 kB / 311.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.02652, allocations: 48.08 kB / 311.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.0279, allocations: 1.422 MB / 312.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.02818, allocations: 39.89 kB / 312.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.02819, allocations: 4 kB / 312.6 MB, free: 10.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.02838, allocations: 196.2 kB / 312.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.02843, allocations: 27.89 kB / 312.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.02848, allocations: 21.55 kB / 312.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.02849, allocations: 7.984 kB / 312.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.02849, allocations: 0 / 312.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.02849, allocations: 0 / 312.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.02877, allocations: 189.2 kB / 313 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.02877, allocations: 3.984 kB / 313 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.02898, allocations: 31.97 kB / 313 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.02915, allocations: 44.77 kB / 313.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.02918, allocations: 15.92 kB / 313.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.03095, allocations: 1.405 MB / 314.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03095, allocations: 0 / 314.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.03216, allocations: 398.1 kB / 314.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.03221, allocations: 23.88 kB / 314.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.03224, allocations: 4 kB / 314.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.03246, allocations: 27.97 kB / 315 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.03255, allocations: 24.11 kB / 315 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.03256, allocations: 4 kB / 315 MB, free: 7.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.03275, allocations: 172.5 kB / 315.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.03275, allocations: 0 / 315.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.03326, allocations: 111.7 kB / 315.3 MB, free: 7.574 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.03342, allocations: 103.2 kB / 315.4 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.03489, allocations: 0.7066 MB / 316.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03489, allocations: 4.688 kB / 316.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.03536, allocations: 210.6 kB / 316.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.03568, allocations: 36.72 kB / 316.3 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.03685, allocations: 456.8 kB / 316.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.03701, allocations: 134.2 kB / 316.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.03713, allocations: 25.92 kB / 316.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.03719, allocations: 20.5 kB / 316.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.0372, allocations: 0 / 316.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of Templates: time 0.008852/0.04605, allocations: 3.757 MB / 320.7 MB, free: 2.012 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.315465956926346]