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.001894/0.001894, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 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.002424/0.002424, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 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 0.001649/0.001649, allocations: 55.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2477, allocations: 53.37 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004265/0.252, allocations: 2.696 MB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2536, allocations: 0.7168 MB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.2537, allocations: 7.938 kB / 435.8 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2539, allocations: 47.56 kB / 435.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.2541, allocations: 107.2 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.2545, allocations: 115.8 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.255, allocations: 390.5 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.2552, allocations: 91.31 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.2555, allocations: 163.4 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.2557, allocations: 143.3 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.849e-05/0.2558, allocations: 36 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.2559, allocations: 40 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.2559, allocations: 75.75 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2561, allocations: 143.3 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.2566, allocations: 425.4 kB / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2566, allocations: 0 / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2566, allocations: 0 / 437.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.2566, allocations: 0 / 437.5 MB, free: 1.508 MB / 334.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.001314/0.2579, allocations: 0.6004 MB / 438.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.258, allocations: 8.031 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.258, allocations: 32.75 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.2585, allocations: 234.9 kB / 438.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.2585, allocations: 16.88 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.2586, allocations: 28.38 kB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.2593, allocations: 344.7 kB / 438.8 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.2593, allocations: 0 / 438.8 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.2594, allocations: 12 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.2594, allocations: 7.938 kB / 438.8 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/0.2602, allocations: 273.9 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.2622, allocations: 1.006 MB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/0.2631, allocations: 238.5 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.2635, allocations: 100.8 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.2635, allocations: 4 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.264, allocations: 194.7 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.264, allocations: 0 / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002085/0.2661, allocations: 0.5213 MB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.2661, allocations: 77.11 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.2664, allocations: 260.9 kB / 441.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2665, allocations: 33.7 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.2666, allocations: 196 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.2666, allocations: 47.62 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.2667, allocations: 49.66 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2669, allocations: 326.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.2673, allocations: 137.8 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.2677, allocations: 246.9 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.2685, allocations: 302.5 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2685, allocations: 4 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001252/0.2697, allocations: 465.6 kB / 443.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.2698, allocations: 37.69 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2698, allocations: 11.94 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.2701, allocations: 68.75 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.2703, allocations: 55.91 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.2726, allocations: 1.506 MB / 444.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.2729, allocations: 47.81 kB / 444.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.2729, allocations: 12.09 kB / 444.9 MB, free: 9.602 MB / 350.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.0001693/0.2731, allocations: 157.7 kB / 445.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.2731, allocations: 23.86 kB / 445.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.2732, allocations: 17.72 kB / 445.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2732, allocations: 4 kB / 445.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2732, allocations: 3.984 kB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2732, allocations: 0 / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.2734, allocations: 217.1 kB / 445.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2734, allocations: 4 kB / 445.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.2736, allocations: 31.97 kB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.2739, allocations: 60.81 kB / 445.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2739, allocations: 0 / 445.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.2759, allocations: 1.502 MB / 447 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.2759, allocations: 4.031 kB / 447 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2773, allocations: 453.4 kB / 447.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.2774, allocations: 19.88 kB / 447.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.2774, allocations: 8 kB / 447.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.2777, allocations: 31.89 kB / 447.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.2777, allocations: 19.97 kB / 447.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2778, allocations: 11.98 kB / 447.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.278, allocations: 180.5 kB / 447.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.278, allocations: 4.062 kB / 447.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.2783, allocations: 71.83 kB / 447.7 MB, free: 6.633 MB / 350.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.000134/0.2785, allocations: 95.25 kB / 447.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2795, allocations: 438.7 kB / 448.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2795, allocations: 3.938 kB / 448.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.28, allocations: 215.2 kB / 448.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2803, allocations: 39.11 kB / 448.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.2838, allocations: 0.9102 MB / 449.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.284, allocations: 142.9 kB / 449.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.2841, allocations: 23.44 kB / 449.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2841, allocations: 0 / 449.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of Templates: time 0.008594/0.2926, allocations: 4.633 MB / 454.2 MB, free: 64 kB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/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: 7.394324134103954]