Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 59.91 kB / 379.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2498, allocations: 53.42 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004561/0.2543, allocations: 2.918 MB / 435.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2557, allocations: 0.7207 MB / 436.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.2559, allocations: 7.938 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.2561, allocations: 51.5 kB / 436.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2564, allocations: 115.1 kB / 436.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.2567, allocations: 95.89 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.2572, allocations: 386.5 kB / 436.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2574, allocations: 91.59 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2576, allocations: 155.4 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.2579, allocations: 171.3 kB / 437.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.258, allocations: 44 kB / 437.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.258, allocations: 36 kB / 437.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.2581, allocations: 75.7 kB / 437.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.2583, allocations: 179.1 kB / 437.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.2588, allocations: 435.6 kB / 437.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2588, allocations: 0 / 437.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2588, allocations: 0 / 437.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2588, allocations: 0 / 437.9 MB, free: 1.289 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001225/0.26, allocations: 0.5887 MB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2601, allocations: 11.97 kB / 438.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.2601, allocations: 32.75 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.2606, allocations: 237.8 kB / 438.8 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.2606, allocations: 16.88 kB / 438.8 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.2607, allocations: 28.38 kB / 438.8 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.2613, allocations: 276.3 kB / 439.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.2613, allocations: 3.938 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.2614, allocations: 12 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2614, allocations: 4 kB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.2621, allocations: 257.9 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.2641, allocations: 1.078 MB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/0.2648, allocations: 194.7 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2651, allocations: 92.8 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2651, allocations: 0 / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.2655, allocations: 172.8 kB / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2656, allocations: 0 / 440.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001394/0.2669, allocations: 393.9 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.267, allocations: 106.8 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.2673, allocations: 261.9 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2674, allocations: 29.7 kB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2675, allocations: 204 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.2676, allocations: 55.58 kB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2677, allocations: 49.89 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2678, allocations: 342.8 kB / 442.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.2681, allocations: 92.16 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2685, allocations: 176.3 kB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/0.269, allocations: 281.6 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.269, allocations: 0 / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009255/0.27, allocations: 383.9 kB / 443.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.27, allocations: 32.36 kB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.27, allocations: 4 kB / 443.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.2703, allocations: 64.83 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2706, allocations: 55.89 kB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.2724, allocations: 1.481 MB / 444.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.2727, allocations: 59.8 kB / 444.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2727, allocations: 15.98 kB / 444.9 MB, free: 9.805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001828/0.2729, allocations: 149.3 kB / 445.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.273, allocations: 23.86 kB / 445.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.273, allocations: 25.77 kB / 445.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.273, allocations: 4 kB / 445.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.273, allocations: 3.938 kB / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.273, allocations: 4 kB / 445.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2734, allocations: 300.4 kB / 445.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2734, allocations: 0 / 445.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.2736, allocations: 27.97 kB / 445.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.2738, allocations: 60.8 kB / 445.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2738, allocations: 0 / 445.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.2756, allocations: 1.5 MB / 447 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2756, allocations: 0 / 447 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2766, allocations: 393 kB / 447.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2767, allocations: 23.88 kB / 447.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.2767, allocations: 8 kB / 447.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.2769, allocations: 24.03 kB / 447.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.277, allocations: 27.95 kB / 447.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.277, allocations: 4 kB / 447.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.2773, allocations: 185.2 kB / 447.7 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2773, allocations: 3.938 kB / 447.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.2776, allocations: 87.77 kB / 447.8 MB, free: 6.785 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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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.0001739/0.2778, allocations: 111.1 kB / 447.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.2787, allocations: 377.8 kB / 448.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2787, allocations: 0.625 kB / 448.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.2791, allocations: 218.5 kB / 448.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2795, allocations: 48.39 kB / 448.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.2819, allocations: 0.7261 MB / 449.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.2824, allocations: 0.7558 MB / 450 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.464e-05/0.2825, allocations: 23.44 kB / 450 MB, free: 4.434 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2825, allocations: 0 / 450 MB, free: 4.434 MB / 350.1 MB Notification: Performance of Templates: time 0.00884/0.2913, allocations: 4.774 MB / 454.8 MB, free: 15.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.352794090053067]