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.001452/0.001452, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001666/0.001666, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9927/0.9927, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.271/0.271, allocations: 34.26 MB / 296 MB, free: 0.6719 MB / 266.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.873e-06/1.873e-06, allocations: 0 / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.304e-05, allocations: 2.312 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002408/0.002441, allocations: 1.664 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.003238, allocations: 0.5686 MB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.596e-05/0.003324, allocations: 3.938 kB / 380.3 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003441, allocations: 11.88 kB / 380.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.00349, allocations: 19.84 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.00411, allocations: 83.7 kB / 380.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.004277, allocations: 123.6 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.004397, allocations: 23.97 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.004491, allocations: 59.88 kB / 380.6 MB, free: 400 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.004552, allocations: 31.89 kB / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.004573, allocations: 8 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.004585, allocations: 8 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.00461, allocations: 19.92 kB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.004649, allocations: 27.91 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.004777, allocations: 63.8 kB / 380.7 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00478, allocations: 0 / 380.7 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004781, allocations: 3.938 kB / 380.7 MB, free: 236 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.004785, allocations: 8 kB / 380.7 MB, free: 228 kB / 346.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.000484/0.005269, allocations: 447.8 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.005304, allocations: 8.031 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.005349, allocations: 12.89 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.00552, allocations: 144.5 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.005541, allocations: 8.375 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.005565, allocations: 16.31 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.005735, allocations: 90.92 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005742, allocations: 4.125 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.005753, allocations: 4.375 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.005763, allocations: 11.92 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.005813, allocations: 19.92 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.006254, allocations: 347.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.006372, allocations: 67.03 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.006398, allocations: 11.72 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.006409, allocations: 4 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.006522, allocations: 77.08 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.006524, allocations: 3.938 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000186/0.00671, allocations: 77.88 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.006745, allocations: 55.39 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.00684, allocations: 196.4 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.006853, allocations: 29.7 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.006909, allocations: 151.1 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.006928, allocations: 15.89 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.006969, allocations: 35.36 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.007076, allocations: 0.4922 MB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.007106, allocations: 11.98 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.007143, allocations: 35.3 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.073e-05/0.007194, allocations: 39.38 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007197, allocations: 8 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.757e-05/0.007294, allocations: 77.58 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007307, allocations: 8 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007312, allocations: 7.953 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007323, allocations: 0 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.537e-05/0.007398, allocations: 15.98 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.007405, allocations: 3.984 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.00744, allocations: 15.89 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.007444, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.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,integrator.reset,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,change.u,$PRE.change.u,$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 7.487e-05/0.007519, allocations: 172.5 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.007534, allocations: 7.953 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.007566, allocations: 12.78 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.007567, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.007571, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007575, allocations: 0 / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.007845, allocations: 345.3 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.007848, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.007901, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007903, allocations: 4 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.007914, allocations: 4 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.007917, allocations: 3.984 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007919, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.008091, allocations: 231.8 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.008104, allocations: 11.94 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.008119, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.008174, allocations: 11.98 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.008228, allocations: 15.92 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.008235, allocations: 8.031 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.008288, allocations: 143.2 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008288, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.00844, allocations: 19.95 kB / 384.2 MB, free: 12.42 MB / 362.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,change.u,booleanPulse.pulseStart) * 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 7.962e-05/0.00852, allocations: 95.19 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.008629, allocations: 47.61 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.008631, allocations: 0 / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.008678, allocations: 35.61 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.008897, allocations: 23.98 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.009389, allocations: 246.1 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.009426, allocations: 63.34 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.009458, allocations: 16.7 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.009493, allocations: 12.5 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009494, allocations: 0 / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Templates: time 0.002981/0.01248, allocations: 1.265 MB / 386 MB, free: 10.58 MB / 362.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: 3.0362279708497226]