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.001265/0.001265, allocations: 85.78 kB / 20.68 MB, free: 1.035 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.00139/0.00139, allocations: 158.5 kB / 23.95 MB, free: 4.164 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.537/1.537, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.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 1.894e-06/1.894e-06, allocations: 0 / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.568e-05, allocations: 2.281 kB / 325.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004263/0.004289, allocations: 2.718 MB / 327.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.005713, allocations: 0.6942 MB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.005867, allocations: 9.281 kB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.006049, allocations: 49.88 kB / 328.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.006299, allocations: 112.6 kB / 328.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.006589, allocations: 95.44 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.007102, allocations: 406.1 kB / 329.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.007325, allocations: 80.7 kB / 329.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.007763, allocations: 236.5 kB / 329.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.007981, allocations: 125.1 kB / 329.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.981e-05/0.008051, allocations: 43.22 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-05/0.008116, allocations: 37.5 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.008246, allocations: 77.11 kB / 329.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.008403, allocations: 115.2 kB / 329.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.008994, allocations: 447.7 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.008997, allocations: 0 / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.008998, allocations: 1.094 kB / 330.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.009009, allocations: 3.938 kB / 330.3 MB, free: 13.23 MB / 302.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.001259/0.01027, allocations: 0.5788 MB / 330.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.0103, allocations: 12.95 kB / 330.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.01038, allocations: 34.22 kB / 330.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.01083, allocations: 247.7 kB / 331.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.01086, allocations: 26.2 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.01092, allocations: 25.66 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.01159, allocations: 323.9 kB / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.0116, allocations: 192 / 331.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.01164, allocations: 10.72 kB / 331.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.01165, allocations: 9.969 kB / 331.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.01235, allocations: 247 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.01438, allocations: 0.9449 MB / 332.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.01514, allocations: 206.8 kB / 332.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.01544, allocations: 90.33 kB / 333 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.01546, allocations: 9.359 kB / 333 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.01591, allocations: 216.5 kB / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.01591, allocations: 0 / 333.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001483/0.01739, allocations: 387 kB / 333.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.01748, allocations: 106.2 kB / 333.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.0178, allocations: 262.7 kB / 334 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.01783, allocations: 27.83 kB / 334 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.01807, allocations: 209.8 kB / 334.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.01812, allocations: 45.8 kB / 334.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01823, allocations: 48.69 kB / 334.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.01852, allocations: 335.5 kB / 334.6 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.01884, allocations: 117.2 kB / 334.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.01927, allocations: 269.4 kB / 335 MB, free: 9.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.01991, allocations: 283.1 kB / 335.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01991, allocations: 0 / 335.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001013/0.02092, allocations: 408.1 kB / 335.7 MB, free: 9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.02098, allocations: 41.53 kB / 335.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.02099, allocations: 2.844 kB / 335.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.02137, allocations: 56.16 kB / 335.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.02162, allocations: 58.64 kB / 335.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.02374, allocations: 1.466 MB / 337.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.02405, allocations: 52.95 kB / 337.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.02408, allocations: 8.781 kB / 337.3 MB, free: 7.477 MB / 302.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.0002148/0.0243, allocations: 155.8 kB / 337.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.02434, allocations: 21.33 kB / 337.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.0244, allocations: 26.95 kB / 337.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0244, allocations: 2.5 kB / 337.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.0244, allocations: 0 / 337.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02441, allocations: 4 kB / 337.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.02471, allocations: 222.4 kB / 337.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.02471, allocations: 1.094 kB / 337.8 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.02492, allocations: 29.53 kB / 337.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.02517, allocations: 54.92 kB / 337.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.02519, allocations: 9.25 kB / 337.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.02705, allocations: 1.459 MB / 339.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02705, allocations: 1.469 kB / 339.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.02839, allocations: 386.6 kB / 339.7 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.02846, allocations: 25.84 kB / 339.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.02852, allocations: 10.62 kB / 339.7 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.02884, allocations: 26.75 kB / 339.8 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.02898, allocations: 35.33 kB / 339.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.029, allocations: 3.406 kB / 339.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.02925, allocations: 181.4 kB / 340 MB, free: 5.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02925, allocations: 1.094 kB / 340 MB, free: 5.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.02965, allocations: 78.47 kB / 340.1 MB, free: 5.215 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: 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.000224/0.02988, allocations: 95.91 kB / 340.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009955/0.03087, allocations: 430.2 kB / 340.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.03088, allocations: 7.938 kB / 340.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.03132, allocations: 215.2 kB / 340.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.03167, allocations: 47.59 kB / 340.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.0342, allocations: 0.6471 MB / 341.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.03435, allocations: 150.9 kB / 341.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.03447, allocations: 30.27 kB / 341.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.03454, allocations: 20.5 kB / 341.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.03454, allocations: 0 / 341.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of Templates: time 0.009174/0.04371, allocations: 3.961 MB / 345.6 MB, free: 15.72 MB / 318.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/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_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: 4.55709345638752]