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.001689/0.001689, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00206/0.00206, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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.435/1.435, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 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.172e-06/1.172e-06, allocations: 0 / 319 MB, free: 3.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.275e-05, allocations: 4.281 kB / 319 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003337/0.00336, allocations: 2.68 MB / 321.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.004555, allocations: 0.6887 MB / 322.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.004716, allocations: 4.031 kB / 322.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.004881, allocations: 45.94 kB / 322.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.005082, allocations: 104.5 kB / 322.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.005404, allocations: 117.5 kB / 322.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.005781, allocations: 400.3 kB / 323 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.006, allocations: 92.45 kB / 323.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.006327, allocations: 224.4 kB / 323.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.006517, allocations: 133.6 kB / 323.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.006576, allocations: 38.56 kB / 323.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.006639, allocations: 37.12 kB / 323.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.006709, allocations: 72.16 kB / 323.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.00685, allocations: 119 kB / 323.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.007341, allocations: 437.1 kB / 324.1 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.007345, allocations: 0.5156 kB / 324.1 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007347, allocations: 0 / 324.1 MB, free: 360 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.007354, allocations: 5.125 kB / 324.1 MB, free: 356 kB / 286.1 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.001338/0.008692, allocations: 0.5851 MB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.008739, allocations: 10.02 kB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.00883, allocations: 41.11 kB / 324.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.009276, allocations: 225.2 kB / 325 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.009302, allocations: 15.78 kB / 325 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.009358, allocations: 24.94 kB / 325 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.01018, allocations: 339.9 kB / 325.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.01019, allocations: 5.109 kB / 325.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.01024, allocations: 15.12 kB / 325.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.01026, allocations: 9.438 kB / 325.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.01116, allocations: 275.7 kB / 325.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.01357, allocations: 1.006 MB / 326.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.01455, allocations: 246.5 kB / 326.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.0149, allocations: 99.48 kB / 327 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01493, allocations: 1.281 kB / 327 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005496/0.01548, allocations: 192.8 kB / 327.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.335e-06/0.01548, allocations: 1.094 kB / 327.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002215/0.01769, allocations: 0.519 MB / 327.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.01776, allocations: 79.72 kB / 327.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.0181, allocations: 256.7 kB / 328 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.01813, allocations: 27.83 kB / 328.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.0183, allocations: 203.3 kB / 328.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.01835, allocations: 36.84 kB / 328.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01846, allocations: 46.39 kB / 328.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.01862, allocations: 337.8 kB / 328.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.01902, allocations: 132.1 kB / 328.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.01954, allocations: 243.7 kB / 329 MB, free: 13.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008071/0.02035, allocations: 308.7 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02035, allocations: 1.219 kB / 329.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001412/0.02176, allocations: 478.1 kB / 329.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.02181, allocations: 33.03 kB / 329.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.02182, allocations: 2.812 kB / 329.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.02222, allocations: 71.83 kB / 329.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.02251, allocations: 57.61 kB / 330 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.02549, allocations: 1.515 MB / 331.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.02596, allocations: 52.58 kB / 331.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.026, allocations: 12.84 kB / 331.5 MB, free: 11.45 MB / 302.1 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.0002587/0.02626, allocations: 146.2 kB / 331.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.02631, allocations: 26.2 kB / 331.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.02637, allocations: 26.23 kB / 331.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.02637, allocations: 5.875 kB / 331.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02638, allocations: 0 / 331.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.02638, allocations: 2.062 kB / 331.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.02672, allocations: 209.5 kB / 332 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.02672, allocations: 4 kB / 332 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.02694, allocations: 34.52 kB / 332 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.02722, allocations: 67.34 kB / 332.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.02724, allocations: 1.953 kB / 332.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.02941, allocations: 1.498 MB / 333.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02941, allocations: 0 / 333.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.03091, allocations: 456.1 kB / 334 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.03096, allocations: 18.05 kB / 334 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.031, allocations: 5.031 kB / 334 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.03126, allocations: 33.64 kB / 334.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.03135, allocations: 22.09 kB / 334.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.03137, allocations: 7.406 kB / 334.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002309/0.0316, allocations: 181.2 kB / 334.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 5e-08/0.0316, allocations: 1.125 kB / 334.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000388/0.03199, allocations: 66.17 kB / 334.3 MB, free: 9.332 MB / 302.1 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.0001442/0.03213, allocations: 103.8 kB / 334.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.03319, allocations: 434.4 kB / 334.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.03319, allocations: 5.375 kB / 334.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004814/0.03367, allocations: 212.8 kB / 335.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.03399, allocations: 43.47 kB / 335.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.0376, allocations: 0.8417 MB / 335.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.03776, allocations: 141.2 kB / 336.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.03787, allocations: 26.06 kB / 336.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.03794, allocations: 20.31 kB / 336.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.03794, allocations: 0 / 336.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of Templates: time 0.009468/0.0474, allocations: 3.716 MB / 339.8 MB, free: 6.07 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] 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.408883590251207]