Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001804/0.001804, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001728/0.001728, allocations: 161.7 kB / 24.27 MB, free: 168 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 1.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.93e-05, allocations: 2.312 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004528/0.004557, allocations: 2.708 MB / 275.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.006154, allocations: 0.7167 MB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.006293, allocations: 4 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.006474, allocations: 51.5 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.006697, allocations: 107.1 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.007063, allocations: 115.7 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.007554, allocations: 406.3 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.007764, allocations: 83.67 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004267/0.00819, allocations: 235.4 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.008397, allocations: 127.6 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.008456, allocations: 36 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-05/0.008523, allocations: 40 kB / 277 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.123e-05/0.008604, allocations: 75.75 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.008764, allocations: 119.7 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.00942, allocations: 430.7 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.009425, allocations: 0 / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.009429, allocations: 4 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.009435, allocations: 0 / 277.6 MB, free: 12.52 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001451/0.01089, allocations: 0.5887 MB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.01093, allocations: 8.031 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.01106, allocations: 52.75 kB / 278.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.01159, allocations: 242.1 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.01162, allocations: 16.88 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.01168, allocations: 32.36 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.01247, allocations: 337 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01248, allocations: 4.125 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.01252, allocations: 12.38 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01253, allocations: 11.94 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.0134, allocations: 273.8 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.01553, allocations: 1.023 MB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.01651, allocations: 238.5 kB / 280.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.01687, allocations: 104.7 kB / 280.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.0169, allocations: 0 / 280.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.01743, allocations: 194.7 kB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.01743, allocations: 4 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.002269/0.0197, allocations: 0.5252 MB / 281.2 MB, free: 8.684 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.01978, allocations: 77.11 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.02012, allocations: 265.8 kB / 281.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.02016, allocations: 25.7 kB / 281.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.02035, allocations: 200 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.0204, allocations: 39.62 kB / 281.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.02051, allocations: 49.66 kB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.0207, allocations: 334.8 kB / 282.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.0211, allocations: 133.9 kB / 282.3 MB, free: 7.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.02158, allocations: 247 kB / 282.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.02236, allocations: 303.7 kB / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02236, allocations: 0 / 282.9 MB, free: 6.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001364/0.02373, allocations: 489.5 kB / 283.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.02378, allocations: 33.7 kB / 283.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.02379, allocations: 4 kB / 283.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.02438, allocations: 112.8 kB / 283.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.02464, allocations: 55.91 kB / 283.5 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.02728, allocations: 1.513 MB / 285.1 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.02762, allocations: 51.91 kB / 285.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.02765, allocations: 11.98 kB / 285.1 MB, free: 4.504 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.000186/0.02784, allocations: 145.8 kB / 285.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.02789, allocations: 27.8 kB / 285.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.02795, allocations: 21.77 kB / 285.3 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.02795, allocations: 4 kB / 285.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.02796, allocations: 0 / 285.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02796, allocations: 0 / 285.3 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.02823, allocations: 213.2 kB / 285.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.02823, allocations: 3.984 kB / 285.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.02843, allocations: 31.97 kB / 285.6 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.0289, allocations: 104.7 kB / 285.7 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.02893, allocations: 11.98 kB / 285.7 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.03117, allocations: 1.498 MB / 287.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03117, allocations: 0 / 287.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.03265, allocations: 465.5 kB / 287.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.0327, allocations: 19.86 kB / 287.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.03274, allocations: 0 / 287.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.03298, allocations: 35.95 kB / 287.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.03306, allocations: 15.97 kB / 287.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.03308, allocations: 7.938 kB / 287.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.0333, allocations: 181.2 kB / 287.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0333, allocations: 0 / 287.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.03368, allocations: 75.89 kB / 287.9 MB, free: 1.5 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.0001548/0.03384, allocations: 103.2 kB / 288 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.0349, allocations: 438.6 kB / 288.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0349, allocations: 0 / 288.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.03538, allocations: 211.1 kB / 288.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.03571, allocations: 57.11 kB / 288.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.0392, allocations: 0.837 MB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.03936, allocations: 142.4 kB / 289.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.03947, allocations: 26.28 kB / 289.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.03955, allocations: 24.44 kB / 289.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03955, allocations: 0 / 289.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of Templates: time 0.008825/0.04837, allocations: 3.762 MB / 293.5 MB, free: 11.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.6247469540685415]