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.0007516/0.0007516, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.00178, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007121/0.0007121, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008925/0.001605, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9831/0.9831, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09252/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2572/0.2572, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03181/0.289, allocations: 13.11 MB / 291.5 MB, free: 7.324 MB / 282.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 1.854e-06/1.854e-06, allocations: 0 / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.945e-05, allocations: 7.188 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimResetIntegrator): time 0.002818/0.002837, allocations: 1.725 MB / 294.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000939/0.003776, allocations: 0.5802 MB / 295.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.003875, allocations: 4 kB / 295.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.983e-05/0.003954, allocations: 15.81 kB / 295.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.004006, allocations: 19.84 kB / 295.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.004282, allocations: 95.62 kB / 295.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.004448, allocations: 103.7 kB / 295.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004563, allocations: 27.97 kB / 295.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.004708, allocations: 71.88 kB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.394e-05/0.004792, allocations: 27.89 kB / 295.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.004828, allocations: 8 kB / 295.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.004845, allocations: 8 kB / 295.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.00488, allocations: 19.94 kB / 295.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.004923, allocations: 19.94 kB / 295.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005105, allocations: 63.69 kB / 295.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.005119, allocations: 4 kB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005119, allocations: 0 / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.005133, allocations: 0 / 295.6 MB, free: 3.41 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.0005959/0.005729, allocations: 317.4 kB / 295.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005766, allocations: 8.031 kB / 295.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.00581, allocations: 12.92 kB / 295.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.006002, allocations: 155.4 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.006028, allocations: 12.31 kB / 296.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.006054, allocations: 8.375 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.006224, allocations: 82.91 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.006233, allocations: 192 / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006244, allocations: 4.375 kB / 296.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.006254, allocations: 7.938 kB / 296.2 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.006297, allocations: 19.98 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.006689, allocations: 224 kB / 296.4 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.006808, allocations: 46.48 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.006832, allocations: 16.86 kB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.006842, allocations: 0 / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.006976, allocations: 75.31 kB / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.006977, allocations: 0 / 296.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001453/0.007123, allocations: 57.69 kB / 296.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.007166, allocations: 63.33 kB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.007253, allocations: 133.2 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.007271, allocations: 29.7 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.007319, allocations: 92.31 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.007351, allocations: 27.91 kB / 297 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.007391, allocations: 25.7 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.007484, allocations: 326.8 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.007504, allocations: 8 kB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.007537, allocations: 29.7 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.007588, allocations: 33.62 kB / 297.4 MB, free: 1.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.007591, allocations: 3.938 kB / 297.4 MB, free: 1.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.987e-05/0.007681, allocations: 65.61 kB / 297.5 MB, free: 1.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.007694, allocations: 5.562 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007699, allocations: 0 / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.007712, allocations: 0 / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.00779, allocations: 20.02 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.007795, allocations: 4.312 kB / 297.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.007837, allocations: 8 kB / 297.5 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.007844, allocations: 4 kB / 297.5 MB, free: 1.355 MB / 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.974e-05/0.007923, allocations: 117.7 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.007937, allocations: 11.98 kB / 297.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.007964, allocations: 8.781 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007966, allocations: 0 / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.007968, allocations: 8 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.007975, allocations: 7.984 kB / 297.6 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.008202, allocations: 222.7 kB / 297.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.008204, allocations: 3.984 kB / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.008256, allocations: 11.94 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.008267, allocations: 7.953 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.008269, allocations: 0 / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.008277, allocations: 0 / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.008279, allocations: 0 / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00828, allocations: 0 / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.008427, allocations: 175.4 kB / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008441, allocations: 0 / 298.1 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.008519, allocations: 15.98 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.008565, allocations: 15.95 kB / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.008572, allocations: 4 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.997e-05/0.008602, allocations: 30.88 kB / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008602, allocations: 0 / 298.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000189/0.008791, allocations: 19.94 kB / 298.1 MB, free: 0.6523 MB / 282.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 7.994e-05/0.008871, allocations: 76.42 kB / 298.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.543e-05/0.008966, allocations: 44.75 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.00897, allocations: 0 / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.009018, allocations: 24.84 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.009256, allocations: 107.6 kB / 298.4 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.009914, allocations: 245 kB / 298.6 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.009954, allocations: 63.34 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.729e-05/0.009991, allocations: 8.719 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.01008, allocations: 59.38 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01008, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of Templates: time 0.003527/0.0136, allocations: 1.358 MB / 300.1 MB, free: 14.63 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.LimResetIntegrator.pipe 2>&1) [Timeout 240] 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","",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.6502710031345487]