Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001357/0.001357, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001174/0.001174, allocations: 173.2 kB / 24.91 MB, free: 8.777 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 1.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2883/0.2883, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.545e-05, allocations: 3.188 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00199/0.002006, allocations: 1.71 MB / 325 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00071/0.002716, allocations: 0.5771 MB / 325.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.002785, allocations: 3.938 kB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.002886, allocations: 15.86 kB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.002925, allocations: 15.86 kB / 325.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.003145, allocations: 91.69 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.003262, allocations: 111.8 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.003346, allocations: 36.5 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.003431, allocations: 67.75 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.00348, allocations: 27.95 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.003496, allocations: 12 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.003507, allocations: 11.94 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.003527, allocations: 15.97 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.003552, allocations: 23.92 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.84e-05/0.003651, allocations: 71.73 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003653, allocations: 4 kB / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003654, allocations: 0 / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.003657, allocations: 0 / 326 MB, free: 6.875 MB / 298.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.0003332/0.00399, allocations: 301.7 kB / 326.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.004017, allocations: 8.031 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.004046, allocations: 20.92 kB / 326.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.00418, allocations: 141.6 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.004196, allocations: 8.375 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.004212, allocations: 8.375 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.004329, allocations: 89.16 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.004335, allocations: 192 / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.004343, allocations: 4.312 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.004349, allocations: 7.938 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.004379, allocations: 19.92 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.004647, allocations: 228 kB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.586e-05/0.004723, allocations: 42.55 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.004739, allocations: 16.86 kB / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.004746, allocations: 0 / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.831e-05/0.004824, allocations: 67.36 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.004825, allocations: 0 / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001022/0.004927, allocations: 69.61 kB / 327 MB, free: 5.766 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.004955, allocations: 55.41 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.005014, allocations: 137.3 kB / 327.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.005026, allocations: 29.7 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.005058, allocations: 96.39 kB / 327.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.005084, allocations: 31.83 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.005111, allocations: 21.72 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.005186, allocations: 330.7 kB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.0052, allocations: 4 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.005223, allocations: 29.64 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.005257, allocations: 29.7 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005258, allocations: 0 / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.929e-05/0.005318, allocations: 61.61 kB / 327.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.005329, allocations: 8 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005333, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.005342, allocations: 0 / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.005396, allocations: 19.92 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-06/0.005398, allocations: 0 / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.005429, allocations: 19.97 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.005433, allocations: 0 / 327.9 MB, free: 4.844 MB / 298.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 5.477e-05/0.005488, allocations: 125.8 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-06/0.005496, allocations: 4 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.005517, allocations: 12.78 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005518, allocations: 0 / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.00552, allocations: 0 / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005524, allocations: 3.984 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.005682, allocations: 234.6 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005683, allocations: 4 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.005718, allocations: 8 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.00572, allocations: 0 / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.005727, allocations: 4 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.005728, allocations: 0 / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005728, allocations: 0 / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.005836, allocations: 175.4 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.005844, allocations: 7.953 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.005856, allocations: 7.938 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.005903, allocations: 16.02 kB / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.005936, allocations: 15.97 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.005941, allocations: 4 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.808e-05/0.005959, allocations: 20.84 kB / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00596, allocations: 0 / 328.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001222/0.006082, allocations: 15.94 kB / 328.5 MB, free: 4.145 MB / 298.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 5.877e-05/0.006141, allocations: 77.08 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.683e-05/0.006207, allocations: 44.7 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.006211, allocations: 4 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.00624, allocations: 24.91 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.00638, allocations: 24.09 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.006747, allocations: 233 kB / 328.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.00678, allocations: 63.34 kB / 329 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.489e-05/0.006805, allocations: 8.734 kB / 329 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.006857, allocations: 63.36 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006858, allocations: 0 / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of Templates: time 0.002577/0.009435, allocations: 1.322 MB / 330.4 MB, free: 2.262 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimResetIntegrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.918192835059017]