Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.0009502/0.0009502, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001027/0.001027, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1342/0.1342, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.986e-05, allocations: 2.312 kB / 325.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002318/0.002348, allocations: 1.664 MB / 326.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.003241, allocations: 0.588 MB / 327.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.003324, allocations: 0 / 327.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.003456, allocations: 15.86 kB / 327.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.003504, allocations: 15.86 kB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.003779, allocations: 91.69 kB / 327.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.003909, allocations: 115.7 kB / 327.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004014, allocations: 27.95 kB / 327.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.00412, allocations: 55.89 kB / 327.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.00418, allocations: 35.89 kB / 327.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.004204, allocations: 8 kB / 327.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.004215, allocations: 8 kB / 327.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.00424, allocations: 15.92 kB / 327.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.004274, allocations: 31.91 kB / 327.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.004389, allocations: 71.67 kB / 328 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004391, allocations: 0 / 328 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004393, allocations: 4 kB / 328 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.004396, allocations: 0 / 328 MB, free: 14.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004087/0.004805, allocations: 304.5 kB / 328.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.004839, allocations: 11.97 kB / 328.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.004875, allocations: 16.92 kB / 328.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.005024, allocations: 133.7 kB / 328.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.005044, allocations: 12.31 kB / 328.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.005067, allocations: 8.375 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.005216, allocations: 90.91 kB / 328.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.005222, allocations: 192 / 328.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.005232, allocations: 4.375 kB / 328.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.005238, allocations: 7.938 kB / 328.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.00527, allocations: 15.98 kB / 328.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.005583, allocations: 228 kB / 328.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.005677, allocations: 50.55 kB / 328.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.005693, allocations: 12.86 kB / 328.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.005701, allocations: 0 / 328.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.279e-05/0.005794, allocations: 67.31 kB / 328.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005795, allocations: 0 / 328.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001149/0.00591, allocations: 69.66 kB / 329 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.005945, allocations: 51.41 kB / 329 MB, free: 12.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.006011, allocations: 138.3 kB / 329.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.006024, allocations: 29.7 kB / 329.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.006063, allocations: 104.3 kB / 329.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.006082, allocations: 15.91 kB / 329.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.006114, allocations: 33.62 kB / 329.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.006192, allocations: 326.8 kB / 329.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.006208, allocations: 4 kB / 329.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.006234, allocations: 29.69 kB / 329.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.006272, allocations: 33.77 kB / 329.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.006274, allocations: 4 kB / 329.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.382e-05/0.006348, allocations: 65.61 kB / 329.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.00636, allocations: 4 kB / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006365, allocations: 3.984 kB / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006375, allocations: 0 / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.006438, allocations: 16 kB / 329.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006441, allocations: 0 / 329.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.006471, allocations: 11.98 kB / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-06/0.006475, allocations: 3.938 kB / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,change.u,$PRE.change.u,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,integrator.reset,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/0.006536, allocations: 121.8 kB / 330 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.006547, allocations: 7.984 kB / 330 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.006573, allocations: 12.78 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006575, allocations: 0 / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.006576, allocations: 0 / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006579, allocations: 3.938 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.006785, allocations: 234.6 kB / 330.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006787, allocations: 0 / 330.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.006833, allocations: 11.98 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.006835, allocations: 4 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.006843, allocations: 0 / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006844, allocations: 0 / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006846, allocations: 3.938 kB / 330.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.006972, allocations: 163.8 kB / 330.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.006984, allocations: 11.94 kB / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.006997, allocations: 4 kB / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.007051, allocations: 15.98 kB / 330.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.0071, allocations: 11.98 kB / 330.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.007108, allocations: 8.031 kB / 330.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.18e-05/0.00713, allocations: 24.83 kB / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00713, allocations: 0 / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001211/0.007251, allocations: 12 kB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.002e-05/0.007331, allocations: 80.41 kB / 330.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.00741, allocations: 44.7 kB / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.007413, allocations: 0 / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.00745, allocations: 28.8 kB / 330.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.007609, allocations: 20.05 kB / 330.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.00802, allocations: 228.4 kB / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.008054, allocations: 63.34 kB / 330.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.008082, allocations: 12.72 kB / 330.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.008139, allocations: 63.36 kB / 331 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.00814, allocations: 0 / 331 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.002912/0.01105, allocations: 1.335 MB / 332.3 MB, free: 9.422 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/LimResetIntegrator/LimResetIntegrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.970667192246765]