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.001119/0.001119, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001184/0.001184, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.011/1.011, allocations: 177 MB / 204.8 MB, free: 5.562 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.2585/0.2585, allocations: 34.86 MB / 296.3 MB, free: 484 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.764e-06/1.764e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.071e-05, allocations: 3.859 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.001983/0.002004, allocations: 1.665 MB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003074, allocations: 0.5725 MB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.003165, allocations: 3.938 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.003314, allocations: 11.88 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.003363, allocations: 11.86 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.003703, allocations: 95.7 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.003848, allocations: 119.6 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003959, allocations: 19.98 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.004047, allocations: 59.88 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.004106, allocations: 27.89 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.004127, allocations: 12 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.004139, allocations: 8 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.004164, allocations: 23.91 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.0042, allocations: 23.92 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004338, allocations: 67.78 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004341, allocations: 4 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004342, allocations: 7.938 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.004347, allocations: 0 / 381.5 MB, free: 15.3 MB / 362.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.0004782/0.004825, allocations: 443.8 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.004865, allocations: 8.031 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.004908, allocations: 12.89 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.005078, allocations: 146.9 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.005098, allocations: 4.375 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.005127, allocations: 20.33 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.0053, allocations: 94.84 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005308, allocations: 192 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.00532, allocations: 384 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.005329, allocations: 7.938 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.032e-05/0.005379, allocations: 23.92 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.005844, allocations: 347.5 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005955, allocations: 67.08 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.00598, allocations: 15.7 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.00599, allocations: 4 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.006099, allocations: 80.97 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.0061, allocations: 0 / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001848/0.006285, allocations: 81.62 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.006325, allocations: 51.41 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006427, allocations: 200.4 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.006441, allocations: 29.69 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.006503, allocations: 147.1 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.006528, allocations: 19.89 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.006571, allocations: 31.38 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.006685, allocations: 0.4961 MB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.006711, allocations: 11.98 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.006748, allocations: 35.31 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.006797, allocations: 39.55 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.006799, allocations: 4 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.659e-05/0.006896, allocations: 85.45 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.006911, allocations: 8 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006915, allocations: 3.938 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.006932, allocations: 0 / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.007009, allocations: 15.98 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.007014, allocations: 0 / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.007047, allocations: 15.89 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007053, allocations: 4.031 kB / 384 MB, free: 12.56 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.597e-05/0.007129, allocations: 164.5 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.007144, allocations: 15.94 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.007176, allocations: 12.78 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007178, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.007183, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007187, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.007451, allocations: 345.3 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.007452, allocations: 0 / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.007496, allocations: 4 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.007498, allocations: 4 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.00751, allocations: 8 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007511, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007511, allocations: 0 / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.007669, allocations: 231.8 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.00768, allocations: 11.95 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.007695, allocations: 3.984 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.007744, allocations: 8 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.007803, allocations: 23.89 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.007809, allocations: 8.031 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.142e-05/0.00786, allocations: 139.2 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00786, allocations: 0 / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.008009, allocations: 23.94 kB / 385 MB, free: 11.5 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.253e-05/0.008082, allocations: 95.19 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.008195, allocations: 47.61 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.008196, allocations: 0 / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.394e-05/0.00824, allocations: 31.61 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.008454, allocations: 28.61 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.008912, allocations: 250.1 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.008949, allocations: 63.34 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.008979, allocations: 12.72 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.009013, allocations: 12.5 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009014, allocations: 0 / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002771/0.01178, allocations: 1.259 MB / 386.8 MB, free: 9.672 MB / 362.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: 3.1911198501475155]