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.001077/0.001077, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002448, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007948/0.0007948, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001855, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.986/0.986, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.091, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2723/0.2723, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02474/0.297, allocations: 13.24 MB / 292.8 MB, free: 6.375 MB / 282.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.403e-06/1.403e-06, allocations: 0 / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.398e-05, allocations: 10.48 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.00218/0.002204, allocations: 1.715 MB / 295.8 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.002983, allocations: 0.5841 MB / 296.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.00306, allocations: 4 kB / 296.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.003114, allocations: 7.875 kB / 296.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.003153, allocations: 19.81 kB / 296.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.003394, allocations: 91.69 kB / 296.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003524, allocations: 115.7 kB / 296.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.003612, allocations: 23.98 kB / 296.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003724, allocations: 79.73 kB / 296.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.003784, allocations: 23.91 kB / 296.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.003806, allocations: 8 kB / 296.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.00382, allocations: 8 kB / 296.8 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.003843, allocations: 15.94 kB / 296.8 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.00387, allocations: 19.94 kB / 296.8 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.003986, allocations: 63.81 kB / 296.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.003996, allocations: 0 / 296.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003996, allocations: 0 / 296.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.004005, allocations: 0 / 296.9 MB, free: 2.293 MB / 282.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.0004055/0.00441, allocations: 321.4 kB / 297.2 MB, free: 1.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.004441, allocations: 8.922 kB / 297.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.004472, allocations: 12.88 kB / 297.2 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.004622, allocations: 153.6 kB / 297.4 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.004639, allocations: 4.312 kB / 297.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.00466, allocations: 12.38 kB / 297.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.004804, allocations: 82.91 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.004811, allocations: 192 / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.004819, allocations: 12.31 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004824, allocations: 3.938 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.004858, allocations: 22.19 kB / 297.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.005166, allocations: 232 kB / 297.7 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.00525, allocations: 46.55 kB / 297.8 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.005267, allocations: 12.86 kB / 297.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.005276, allocations: 3.984 kB / 297.8 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.914e-05/0.005375, allocations: 63.38 kB / 297.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.005376, allocations: 0 / 297.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001356/0.005512, allocations: 73.59 kB / 297.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005547, allocations: 55.41 kB / 298 MB, free: 1.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.005612, allocations: 130.7 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.005633, allocations: 25.7 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.005675, allocations: 104.3 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.005696, allocations: 15.94 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.005728, allocations: 29.69 kB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.005822, allocations: 326.8 kB / 298.6 MB, free: 436 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.00584, allocations: 8 kB / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.005869, allocations: 21.7 kB / 298.6 MB, free: 400 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.005917, allocations: 46.56 kB / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005919, allocations: 0 / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.587e-05/0.005995, allocations: 61.38 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.006014, allocations: 7.984 kB / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006019, allocations: 0 / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.006035, allocations: 4 kB / 298.7 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.006108, allocations: 12 kB / 298.7 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.006114, allocations: 4.25 kB / 298.7 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.006147, allocations: 20.02 kB / 298.8 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.006151, allocations: 0 / 298.8 MB, free: 236 kB / 282.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 7.3e-05/0.006224, allocations: 113.8 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.006237, allocations: 11.98 kB / 298.9 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.006269, allocations: 12.78 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006272, allocations: 0 / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.006274, allocations: 0 / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.00628, allocations: 0 / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.006518, allocations: 238.5 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006519, allocations: 8 kB / 299.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.00657, allocations: 7.984 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.006583, allocations: 7.953 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.006584, allocations: 0 / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.006593, allocations: 0 / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.006595, allocations: 4 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006597, allocations: 0 / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.006729, allocations: 167.4 kB / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.00674, allocations: 0 / 299.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.006787, allocations: 16.03 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.006825, allocations: 15.97 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.006831, allocations: 4 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.6e-05/0.006857, allocations: 30.88 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006857, allocations: 4 kB / 299.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000119/0.006976, allocations: 12 kB / 299.4 MB, free: 15.54 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.921e-05/0.007046, allocations: 80.41 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.007117, allocations: 40.77 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.00712, allocations: 4.031 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.007162, allocations: 28.8 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.007342, allocations: 110.5 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.007871, allocations: 237.2 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.007906, allocations: 63.34 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.007938, allocations: 12.72 kB / 300 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.007997, allocations: 59.38 kB / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007997, allocations: 0 / 300 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002818/0.01081, allocations: 1.356 MB / 301.4 MB, free: 13.51 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7524645468220115]