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.0009978/0.0009978, 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.0008953/0.0008953, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9459/0.9459, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2403/0.2403, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.954e-06/1.954e-06, allocations: 3.938 kB / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.207e-05, allocations: 2.312 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002091/0.002113, allocations: 1.669 MB / 377.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.002893, allocations: 0.5686 MB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.00298, allocations: 4 kB / 378.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.003097, allocations: 15.86 kB / 378.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.003141, allocations: 11.81 kB / 378.2 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.003424, allocations: 99.67 kB / 378.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.003564, allocations: 111.7 kB / 378.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003678, allocations: 19.92 kB / 378.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.908e-05/0.003777, allocations: 67.88 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.003839, allocations: 23.91 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.003862, allocations: 11.94 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.003875, allocations: 12 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.003903, allocations: 27.91 kB / 378.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.003941, allocations: 23.92 kB / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004089, allocations: 71.72 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004092, allocations: 0 / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.004092, allocations: 0 / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.004098, allocations: 0 / 378.7 MB, free: 2.273 MB / 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.000501/0.004599, allocations: 435.9 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.00464, allocations: 12.03 kB / 379.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.004694, allocations: 20.89 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.004899, allocations: 152.4 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.004925, allocations: 8.375 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.004953, allocations: 12.33 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.005135, allocations: 86.92 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.005143, allocations: 192 / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.005156, allocations: 4.375 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.005166, allocations: 3.938 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.005222, allocations: 31.92 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.005668, allocations: 335.5 kB / 379.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.005783, allocations: 66.97 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.005813, allocations: 19.72 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.005822, allocations: 0 / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.005936, allocations: 77.08 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.005937, allocations: 4 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001807/0.006118, allocations: 85.55 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.006153, allocations: 51.41 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.006251, allocations: 197.2 kB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.006265, allocations: 33.64 kB / 380.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.006322, allocations: 151.1 kB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.006341, allocations: 11.91 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.00638, allocations: 35.36 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.00651, allocations: 0.4922 MB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.006537, allocations: 15.98 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.006576, allocations: 35.36 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.006627, allocations: 35.31 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006629, allocations: 4 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.539e-05/0.006724, allocations: 81.58 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.006739, allocations: 4 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.006744, allocations: 0 / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.00676, allocations: 0 / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.006844, allocations: 23.95 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.006851, allocations: 0 / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.006885, allocations: 11.95 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006893, allocations: 3.984 kB / 381.2 MB, free: 15.55 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 9.195e-05/0.006985, allocations: 168.5 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.006998, allocations: 11.95 kB / 381.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.007031, allocations: 12.78 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007033, allocations: 0 / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.007038, allocations: 4 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.007043, allocations: 4 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.007301, allocations: 341.3 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007303, allocations: 4 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.284e-05/0.007346, allocations: 8 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.007352, allocations: 7.969 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.007362, allocations: 0 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007363, allocations: 0 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007364, allocations: 0 / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.00754, allocations: 248.1 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.00755, allocations: 7.984 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.00757, allocations: 11.94 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.007621, allocations: 7.984 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.007677, allocations: 19.92 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.007685, allocations: 3.984 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.007742, allocations: 139.2 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007742, allocations: 0 / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.007898, allocations: 15.95 kB / 382.2 MB, free: 14.48 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.799e-05/0.007976, allocations: 103.2 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.0081, allocations: 51.59 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008101, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.008148, allocations: 27.69 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.008376, allocations: 17.86 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.00888, allocations: 258 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.008925, allocations: 63.34 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.008955, allocations: 4.734 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.008995, allocations: 16.5 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.008996, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Templates: time 0.002979/0.01197, allocations: 1.259 MB / 384 MB, free: 12.64 MB / 362.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 -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.982971288030967]