Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008543/0.008543, allocations: 106.4 kB / 21.98 MB, free: 5.223 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.002064/0.002064, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 259 MB, free: 8.023 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.89 kB / 379.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2604, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00433/0.2647, allocations: 2.918 MB / 436.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2661, allocations: 0.7635 MB / 436.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.2663, allocations: 4 kB / 436.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.2664, allocations: 51.5 kB / 436.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.2666, allocations: 99.25 kB / 437 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.2669, allocations: 119.8 kB / 437.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.2673, allocations: 390.5 kB / 437.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2676, allocations: 83.67 kB / 437.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.2679, allocations: 171.3 kB / 437.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.2681, allocations: 163.3 kB / 437.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.2681, allocations: 40 kB / 438 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.2682, allocations: 36 kB / 438 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.2683, allocations: 75.7 kB / 438.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2684, allocations: 179.2 kB / 438.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.2689, allocations: 423.7 kB / 438.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2689, allocations: 0 / 438.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2689, allocations: 0 / 438.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2689, allocations: 0 / 438.7 MB, free: 1.453 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.001261/0.2702, allocations: 0.5887 MB / 439.3 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2702, allocations: 12.03 kB / 439.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.2703, allocations: 32.75 kB / 439.3 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.2707, allocations: 234.9 kB / 439.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2707, allocations: 20.75 kB / 439.6 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.2708, allocations: 28.36 kB / 439.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.2715, allocations: 319 kB / 439.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2715, allocations: 0 / 439.9 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.2715, allocations: 8 kB / 439.9 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2715, allocations: 8 kB / 439.9 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008007/0.2723, allocations: 273.9 kB / 440.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2743, allocations: 1.126 MB / 441.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008536/0.2752, allocations: 238.5 kB / 441.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.2755, allocations: 92.78 kB / 441.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2755, allocations: 4 kB / 441.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.276, allocations: 180.9 kB / 441.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.276, allocations: 0 / 441.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001942/0.2779, allocations: 0.5174 MB / 442.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.278, allocations: 89.05 kB / 442.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.2783, allocations: 265.8 kB / 442.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.2784, allocations: 29.7 kB / 442.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.2785, allocations: 196 kB / 442.9 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.2786, allocations: 47.64 kB / 442.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.2786, allocations: 45.7 kB / 443 MB, free: 12.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2788, allocations: 330.8 kB / 443.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.2792, allocations: 108.1 kB / 443.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.2796, allocations: 188.5 kB / 443.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.2803, allocations: 306.5 kB / 443.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2803, allocations: 0 / 443.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001208/0.2815, allocations: 451.8 kB / 444.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.2815, allocations: 41.58 kB / 444.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2815, allocations: 4 kB / 444.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.2818, allocations: 68.88 kB / 444.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.2821, allocations: 51.91 kB / 444.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.2843, allocations: 1.529 MB / 446 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.2847, allocations: 55.84 kB / 446.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2847, allocations: 11.98 kB / 446.1 MB, free: 9.559 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.0001947/0.2849, allocations: 149.9 kB / 446.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.2849, allocations: 19.86 kB / 446.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.92e-05/0.285, allocations: 25.7 kB / 446.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.285, allocations: 0 / 446.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.285, allocations: 4 kB / 446.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.285, allocations: 0 / 446.3 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.2853, allocations: 292.5 kB / 446.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2853, allocations: 0 / 446.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.2855, allocations: 35.95 kB / 446.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.2857, allocations: 60.83 kB / 446.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.2857, allocations: 7.984 kB / 446.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.2878, allocations: 1.529 MB / 448.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2878, allocations: 0 / 448.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.2891, allocations: 457.4 kB / 448.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2891, allocations: 19.89 kB / 448.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.2892, allocations: 4 kB / 448.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.2894, allocations: 32.02 kB / 448.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.2895, allocations: 23.91 kB / 448.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.2895, allocations: 8 kB / 448.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.2897, allocations: 185.2 kB / 448.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2897, allocations: 0 / 448.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.29, allocations: 63.89 kB / 449 MB, free: 6.477 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.0001556/0.2902, allocations: 107.2 kB / 449.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.2912, allocations: 413 kB / 449.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2912, allocations: 4.125 kB / 449.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.2916, allocations: 206.5 kB / 449.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2919, allocations: 55.31 kB / 449.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.2951, allocations: 0.8908 MB / 450.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2955, allocations: 0.7558 MB / 451.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.2956, allocations: 23.44 kB / 451.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2956, allocations: 0 / 451.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of Templates: time 0.007434/0.303, allocations: 4.587 MB / 456 MB, free: 15.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.426736972061917]