Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009338/0.0009338, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9071/0.9071, allocations: 177 MB / 205.2 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2547/0.2547, allocations: 34.85 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.449e-05, allocations: 9.406 kB / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001919/0.001934, allocations: 1.662 MB / 327.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.002938, allocations: 0.5763 MB / 328.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.003012, allocations: 8 kB / 328.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.003113, allocations: 15.86 kB / 328.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.003156, allocations: 11.86 kB / 328.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.003406, allocations: 91.69 kB / 328.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.003525, allocations: 111.7 kB / 328.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.003608, allocations: 31.89 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.003691, allocations: 63.89 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.003743, allocations: 31.88 kB / 328.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.003763, allocations: 8 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.003776, allocations: 12 kB / 328.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.003798, allocations: 15.94 kB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.003827, allocations: 27.91 kB / 328.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.00393, allocations: 71.67 kB / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003932, allocations: 0 / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.003933, allocations: 0 / 328.6 MB, free: 4.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.003936, allocations: 0 / 328.6 MB, free: 4.438 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.0003371/0.004273, allocations: 302.7 kB / 328.9 MB, free: 4.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.004302, allocations: 8.031 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.00433, allocations: 20.92 kB / 329 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004455, allocations: 149.5 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.00447, allocations: 8.375 kB / 329.1 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.004487, allocations: 4.375 kB / 329.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.004605, allocations: 86.91 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.00461, allocations: 4.188 kB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004619, allocations: 4.375 kB / 329.2 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.004623, allocations: 7.938 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.004655, allocations: 22.03 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.00493, allocations: 220 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.00501, allocations: 54.53 kB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.005024, allocations: 8.859 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.005031, allocations: 0 / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/0.005124, allocations: 75.31 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005125, allocations: 0 / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001006/0.005226, allocations: 61.67 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.005254, allocations: 55.39 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.005314, allocations: 130.7 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.005326, allocations: 29.7 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.00536, allocations: 100.4 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.005379, allocations: 23.78 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.005409, allocations: 25.7 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.005476, allocations: 326.8 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.00549, allocations: 12 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.005512, allocations: 25.7 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.005549, allocations: 34.39 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005551, allocations: 0 / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.857e-05/0.005609, allocations: 68.36 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.005619, allocations: 5.25 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005623, allocations: 0 / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.005632, allocations: 4 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.005688, allocations: 20.02 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.005691, allocations: 4 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.00572, allocations: 7.938 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005724, allocations: 4 kB / 330.5 MB, free: 2.398 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.476e-05/0.005779, allocations: 113.8 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.005788, allocations: 11.98 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.005809, allocations: 8.781 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.00581, allocations: 3.938 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.005813, allocations: 8 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.005816, allocations: 3.984 kB / 330.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.005987, allocations: 222.7 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.005989, allocations: 3.984 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.006028, allocations: 8 kB / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.006029, allocations: 0 / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.006035, allocations: 0 / 330.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.006037, allocations: 3.938 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006037, allocations: 0 / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.006146, allocations: 171.5 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.006153, allocations: 7.984 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.006166, allocations: 12 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.006212, allocations: 7.984 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.006251, allocations: 23.95 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.006255, allocations: 0 / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.098e-05/0.006276, allocations: 27.5 kB / 331.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006276, allocations: 0 / 331.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001175/0.006394, allocations: 19.94 kB / 331.2 MB, free: 1.703 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 6.005e-05/0.006454, allocations: 80.36 kB / 331.2 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.647e-05/0.00652, allocations: 41.23 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006522, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.006557, allocations: 36.72 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.006699, allocations: 17.3 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.007116, allocations: 233.4 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.261e-05/0.007149, allocations: 63.34 kB / 331.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.007176, allocations: 4.734 kB / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.275e-05/0.007228, allocations: 63.36 kB / 331.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.007229, allocations: 0 / 331.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of Templates: time 0.002701/0.00993, allocations: 1.32 MB / 333 MB, free: 15.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 2.782725843600929]