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.001442/0.001442, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001571/0.001571, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3395/0.3395, allocations: 34.25 MB / 295.3 MB, free: 0.6953 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 2.124e-06/2.124e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.234e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003034/0.003067, allocations: 1.622 MB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.00422, allocations: 0.5725 MB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.004312, allocations: 0 / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.004447, allocations: 15.81 kB / 379.5 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.0045, allocations: 11.86 kB / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.004842, allocations: 87.7 kB / 379.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.005042, allocations: 119.7 kB / 379.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.005156, allocations: 19.98 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.005297, allocations: 67.86 kB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.005369, allocations: 23.91 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.005395, allocations: 8 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.005412, allocations: 8 kB / 379.8 MB, free: 424 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.005446, allocations: 23.91 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.005503, allocations: 27.92 kB / 379.9 MB, free: 372 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.005684, allocations: 99.61 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005686, allocations: 4 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005687, allocations: 0 / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.005691, allocations: 0 / 380 MB, free: 268 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.0007259/0.006417, allocations: 342.8 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.006458, allocations: 8.031 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.006653, allocations: 16.84 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.006914, allocations: 149.6 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.006937, allocations: 12.38 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.00697, allocations: 8.375 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.007273, allocations: 94.2 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.007283, allocations: 192 / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.007301, allocations: 12.36 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.007307, allocations: 3.938 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.007488, allocations: 51.97 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.008199, allocations: 316.1 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.008561, allocations: 102.5 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.008683, allocations: 36.83 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.0087, allocations: 0 / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.008971, allocations: 103.3 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.008972, allocations: 0 / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005238/0.009496, allocations: 137.6 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.009557, allocations: 63.33 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.009696, allocations: 130.1 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.009726, allocations: 33.7 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.009818, allocations: 108.4 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.009845, allocations: 15.89 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.009895, allocations: 21.72 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.01009, allocations: 326.8 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.01022, allocations: 35.97 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.01036, allocations: 49.69 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.01058, allocations: 77.62 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01058, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002987/0.01088, allocations: 121.6 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01089, allocations: 10.03 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.0109, allocations: 3.984 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.01092, allocations: 0 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01103, allocations: 12 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.01103, allocations: 0 / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.01113, allocations: 27.92 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.01114, allocations: 4 kB / 382.4 MB, free: 13.68 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 0.0001259/0.01127, allocations: 125.7 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.01129, allocations: 7.953 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.01133, allocations: 16.78 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01133, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01134, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01134, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.01189, allocations: 342 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01189, allocations: 3.938 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.01203, allocations: 11.98 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01203, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01205, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01205, allocations: 0 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.01205, allocations: 4 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005273/0.01258, allocations: 247.4 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.0126, allocations: 7.938 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01262, allocations: 4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.01276, allocations: 15.98 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.01284, allocations: 19.91 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01285, allocations: 8.062 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01295, allocations: 106.2 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01295, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01321, allocations: 19.95 kB / 383.3 MB, free: 12.7 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 0.0001267/0.01334, allocations: 95.23 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.01366, allocations: 87.88 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01366, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.0138, allocations: 39.97 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.01415, allocations: 27.97 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.01519, allocations: 276 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.995e-05/0.01529, allocations: 85.44 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.723e-05/0.01534, allocations: 8.734 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.01538, allocations: 16.5 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01538, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004505/0.01989, allocations: 1.253 MB / 385.2 MB, free: 10.79 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.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.743780633085407]