Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001413/0.001413, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001612/0.001612, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.436/1.436, allocations: 230.6 MB / 258.2 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2542, allocations: 53.36 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004507/0.2587, allocations: 2.882 MB / 435.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2602, allocations: 0.7676 MB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.2604, allocations: 7.938 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.2606, allocations: 55.44 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.2608, allocations: 115.1 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2611, allocations: 135.8 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.2617, allocations: 462.2 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.2619, allocations: 111 kB / 436.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.2622, allocations: 183.4 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.2625, allocations: 195.2 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.2625, allocations: 44 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.806e-05/0.2626, allocations: 44 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.2627, allocations: 87.73 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.2629, allocations: 163.2 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.2634, allocations: 0.4971 MB / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2634, allocations: 0 / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2634, allocations: 0 / 438.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2634, allocations: 3.938 kB / 438.1 MB, free: 1.012 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001457/0.2649, allocations: 0.6355 MB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2649, allocations: 20.02 kB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.265, allocations: 40.7 kB / 438.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.2654, allocations: 245 kB / 439 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.2655, allocations: 21.08 kB / 439 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.2655, allocations: 32.31 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.2664, allocations: 404.3 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.2664, allocations: 4 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.2664, allocations: 12 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2664, allocations: 11.98 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.2673, allocations: 306.4 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.2696, allocations: 1.09 MB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.2704, allocations: 242.4 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.2708, allocations: 124.8 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.2709, allocations: 4 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.2714, allocations: 257.1 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.2714, allocations: 0 / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002309/0.2737, allocations: 0.5591 MB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.2738, allocations: 106.8 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.2742, allocations: 294 kB / 442.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.2742, allocations: 29.7 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2744, allocations: 216.2 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.2745, allocations: 59.58 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2746, allocations: 61.64 kB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2747, allocations: 334.8 kB / 443.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.2751, allocations: 141.9 kB / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.2757, allocations: 294.4 kB / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.2765, allocations: 346.7 kB / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2765, allocations: 0 / 443.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001356/0.2779, allocations: 0.5093 MB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.2779, allocations: 33.7 kB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2779, allocations: 0 / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.2783, allocations: 68.88 kB / 444.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.2786, allocations: 67.89 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.2809, allocations: 1.518 MB / 446.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2812, allocations: 51.81 kB / 446.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.2813, allocations: 8 kB / 446.1 MB, free: 8.449 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 (31): * Single equations (assignments): 29 * 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.0001822/0.2814, allocations: 167.7 kB / 446.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.2815, allocations: 31.88 kB / 446.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/0.2815, allocations: 22.12 kB / 446.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.2816, allocations: 11.92 kB / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2816, allocations: 0 / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2816, allocations: 0 / 446.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.2832, allocations: 0.6892 MB / 447.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2832, allocations: 4.031 kB / 447.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2834, allocations: 39.97 kB / 447.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.2837, allocations: 60.81 kB / 447.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2837, allocations: 4 kB / 447.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.2858, allocations: 1.502 MB / 448.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2858, allocations: 4 kB / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2873, allocations: 0.5633 MB / 449.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.2874, allocations: 43.7 kB / 449.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.2874, allocations: 4 kB / 449.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.2878, allocations: 35.91 kB / 449.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.2878, allocations: 28.02 kB / 449.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.2878, allocations: 4 kB / 449.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.2881, allocations: 201.2 kB / 449.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2881, allocations: 0 / 449.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.2885, allocations: 83.83 kB / 449.6 MB, free: 4.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.0001277/0.2886, allocations: 107.1 kB / 449.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.2897, allocations: 467.3 kB / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2897, allocations: 0 / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.2902, allocations: 231.3 kB / 450.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2906, allocations: 54.52 kB / 450.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.2934, allocations: 0.8452 MB / 451.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2935, allocations: 159.5 kB / 451.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.2936, allocations: 30.95 kB / 451.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.2937, allocations: 23.44 kB / 451.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2937, allocations: 0 / 451.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of Templates: time 0.009161/0.3029, allocations: 4.715 MB / 456.2 MB, free: 14.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.4565909469965845]