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.002171/0.002171, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001973/0.001973, allocations: 165.3 kB / 24.27 MB, free: 152 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.584/1.584, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3573/0.3573, allocations: 32.81 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.273e-06/1.273e-06, allocations: 0 / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.211e-05, allocations: 2.312 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.003135/0.003167, allocations: 1.643 MB / 376.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004318, allocations: 0.5569 MB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.004398, allocations: 8 kB / 377.5 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.004518, allocations: 19.8 kB / 377.5 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.004575, allocations: 11.86 kB / 377.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.004915, allocations: 87.75 kB / 377.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.005102, allocations: 115.6 kB / 377.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.005214, allocations: 23.97 kB / 377.7 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.005343, allocations: 63.83 kB / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.005413, allocations: 31.89 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.005444, allocations: 12 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.005463, allocations: 8 kB / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.005492, allocations: 15.92 kB / 377.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.005557, allocations: 35.91 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.00573, allocations: 87.69 kB / 378 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005733, allocations: 0 / 378 MB, free: 2.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005734, allocations: 0 / 378 MB, free: 2.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005738, allocations: 0 / 378 MB, free: 2.289 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.0007084/0.006447, allocations: 451.5 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.006482, allocations: 12.03 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.006543, allocations: 24.84 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.006794, allocations: 147.4 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.006816, allocations: 8.375 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.006843, allocations: 12.36 kB / 378.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.007082, allocations: 82.22 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.007091, allocations: 4.188 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.007109, allocations: 8.359 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.007115, allocations: 7.938 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.007261, allocations: 43.92 kB / 378.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.007961, allocations: 359.5 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.008254, allocations: 94.95 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.008354, allocations: 35.75 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.00837, allocations: 0 / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.008604, allocations: 93.03 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008605, allocations: 0 / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004162/0.009021, allocations: 121.5 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.009078, allocations: 59.41 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.009258, allocations: 197.9 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.009282, allocations: 25.7 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.009396, allocations: 167.1 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.009425, allocations: 15.89 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.009484, allocations: 35.38 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003065/0.009791, allocations: 0.4961 MB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.009893, allocations: 23.98 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01002, allocations: 55.36 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.0102, allocations: 67.28 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0102, allocations: 0 / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002612/0.01046, allocations: 109.6 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01048, allocations: 6.031 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.01049, allocations: 0 / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.0105, allocations: 8.031 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.01061, allocations: 19.86 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01062, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.01069, allocations: 11.95 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.0107, allocations: 4 kB / 380.7 MB, free: 15.3 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.0001346/0.01084, allocations: 164.5 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.01086, allocations: 15.94 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.01091, allocations: 12.78 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01091, allocations: 4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.01091, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.01092, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.01146, allocations: 385.2 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.01147, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.01154, allocations: 8 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01154, allocations: 0 / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01155, allocations: 0 / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01155, allocations: 0 / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.01155, allocations: 8.375 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.01202, allocations: 287.8 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.01203, allocations: 3.953 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01205, allocations: 4 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.01216, allocations: 7.984 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/0.01223, allocations: 23.91 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.01224, allocations: 4.031 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.01235, allocations: 150.4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01235, allocations: 0 / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01259, allocations: 19.95 kB / 381.8 MB, free: 14.15 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.000121/0.01271, allocations: 99.22 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.01298, allocations: 79.59 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01298, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01312, allocations: 47.73 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.01343, allocations: 15.98 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.01424, allocations: 265.9 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.684e-05/0.01433, allocations: 89.39 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.01439, allocations: 8.719 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.01443, allocations: 12.5 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01443, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004591/0.01903, allocations: 1.265 MB / 383.7 MB, free: 12.23 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.754886085051112]