Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 173.3 MB / 200.8 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 267.4 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.204e-05, allocations: 2.312 kB / 267.4 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004843/0.004875, allocations: 2.83 MB / 270.2 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.006451, allocations: 0.6973 MB / 270.9 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.006606, allocations: 4 kB / 270.9 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.00679, allocations: 43.56 kB / 270.9 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.00703, allocations: 111.1 kB / 271 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.007387, allocations: 111.8 kB / 271.1 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.007912, allocations: 406.3 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.008141, allocations: 91.55 kB / 271.6 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.00851, allocations: 231.5 kB / 271.9 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.00874, allocations: 123.7 kB / 272 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.246e-05/0.008813, allocations: 40 kB / 272 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.88e-05/0.008881, allocations: 36 kB / 272.1 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.735e-05/0.008979, allocations: 79.69 kB / 272.1 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.009142, allocations: 119.7 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.009714, allocations: 442.6 kB / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.009718, allocations: 0 / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009719, allocations: 0 / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.009726, allocations: 0 / 272.7 MB, free: 1.367 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001403/0.01113, allocations: 0.6844 MB / 273.4 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.01117, allocations: 16.02 kB / 273.4 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.0113, allocations: 56.7 kB / 273.4 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.01172, allocations: 241.1 kB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.01175, allocations: 16.88 kB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.0118, allocations: 24.38 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.01254, allocations: 338.6 kB / 274 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.01256, allocations: 192 / 274 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.01259, allocations: 12.38 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.0126, allocations: 11.94 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.01327, allocations: 229.9 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.01546, allocations: 1.181 MB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/0.01622, allocations: 203 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.01647, allocations: 83.66 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.0165, allocations: 4 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.01695, allocations: 194 kB / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.01695, allocations: 0 / 275.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001606/0.01856, allocations: 396.9 kB / 276.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.01863, allocations: 81.09 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.01907, allocations: 352.3 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.01911, allocations: 29.7 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.01933, allocations: 254.7 kB / 277 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.01939, allocations: 47.67 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.01951, allocations: 63.31 kB / 277.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/0.01984, allocations: 0.5235 MB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.02014, allocations: 117.8 kB / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.02058, allocations: 271.8 kB / 278 MB, free: 11.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.02122, allocations: 317.2 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02122, allocations: 0 / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001066/0.02229, allocations: 416.2 kB / 278.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.02233, allocations: 32.52 kB / 278.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.02234, allocations: 4.344 kB / 278.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.02279, allocations: 79.64 kB / 278.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.02301, allocations: 51.91 kB / 278.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.02552, allocations: 1.938 MB / 280.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.02582, allocations: 47.69 kB / 280.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.02586, allocations: 12 kB / 280.9 MB, free: 8.559 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.02609, allocations: 192.6 kB / 281.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.02616, allocations: 35.8 kB / 281.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.02621, allocations: 21.77 kB / 281.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.02622, allocations: 4 kB / 281.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02622, allocations: 0 / 281.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.02622, allocations: 0 / 281.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.0266, allocations: 264.5 kB / 281.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.0266, allocations: 0 / 281.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.02678, allocations: 27.92 kB / 281.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/0.0271, allocations: 75.58 kB / 281.5 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.02713, allocations: 8 kB / 281.5 MB, free: 7.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.02945, allocations: 1.927 MB / 283.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02945, allocations: 0 / 283.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.0306, allocations: 383.8 kB / 283.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.03066, allocations: 27.84 kB / 283.9 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.03069, allocations: 3.938 kB / 283.9 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.03088, allocations: 19.98 kB / 283.9 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.03097, allocations: 19.97 kB / 283.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.03099, allocations: 3.938 kB / 283.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002756/0.03126, allocations: 249.1 kB / 284.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03126, allocations: 0 / 284.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.03166, allocations: 67.89 kB / 284.2 MB, free: 5.051 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.03182, allocations: 103.1 kB / 284.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.03287, allocations: 474.4 kB / 284.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.03287, allocations: 0 / 284.8 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.03332, allocations: 265.7 kB / 285 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.03367, allocations: 45.25 kB / 285.1 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.03628, allocations: 0.6552 MB / 285.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.03649, allocations: 146.9 kB / 285.9 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.03661, allocations: 26.28 kB / 285.9 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.03669, allocations: 20.5 kB / 285.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of SimCode: time 1.473e-06/0.03669, allocations: 0 / 285.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of Templates: time 0.01003/0.04672, allocations: 3.787 MB / 289.7 MB, free: 15.49 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.455126794986427]