Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001062/0.001062, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001125/0.001125, allocations: 168.4 kB / 24.91 MB, free: 8.27 MB / 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 0.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.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.2538/0.2538, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.503e-05, allocations: 3.016 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002556/0.002581, allocations: 1.762 MB / 327.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003841, allocations: 1.01 MB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.858e-05/0.00392, allocations: 0 / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.004194, allocations: 35.66 kB / 328.1 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.004481, allocations: 99.53 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.004681, allocations: 83.59 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.004837, allocations: 103.6 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.004914, allocations: 15.98 kB / 328.4 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.005, allocations: 51.83 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.005076, allocations: 31.84 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.005091, allocations: 4 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.005172, allocations: 43.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.005218, allocations: 23.92 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.005249, allocations: 20.42 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.005405, allocations: 99.59 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005408, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.005409, allocations: 0 / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.005414, allocations: 3.984 kB / 328.7 MB, free: 4.207 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003593/0.005773, allocations: 313.6 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.005804, allocations: 12.03 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.005835, allocations: 8.922 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.00598, allocations: 142.3 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.005994, allocations: 4.375 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.006011, allocations: 384 / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.006112, allocations: 69.7 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.006123, allocations: 3.938 kB / 329.2 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.006131, allocations: 3.984 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006135, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.398e-05/0.006159, allocations: 12 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.006359, allocations: 170 kB / 329.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.006446, allocations: 81.3 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.006464, allocations: 8.859 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.006475, allocations: 4 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.77e-05/0.006562, allocations: 74.08 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.006564, allocations: 0 / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000324/0.006888, allocations: 109.5 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.006925, allocations: 59.41 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007027, allocations: 170.1 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.007048, allocations: 25.7 kB / 330 MB, free: 2.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.007079, allocations: 100.1 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.007105, allocations: 31.73 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.007133, allocations: 21.7 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.007207, allocations: 322.8 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.007224, allocations: 10.83 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.00725, allocations: 25.69 kB / 330.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.007292, allocations: 44.47 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007294, allocations: 4 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.421e-05/0.007368, allocations: 84.28 kB / 330.6 MB, free: 2.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.00738, allocations: 4 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007384, allocations: 384 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007396, allocations: 3.984 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.007451, allocations: 16 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.007454, allocations: 4 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.007481, allocations: 4 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.007487, allocations: 4 kB / 330.6 MB, free: 2.117 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 6.363e-05/0.007551, allocations: 124.7 kB / 330.7 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.007563, allocations: 7.938 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.00767, allocations: 79.06 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.007673, allocations: 4 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.007674, allocations: 0 / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.007678, allocations: 0 / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.007882, allocations: 283.6 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007884, allocations: 0 / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.007907, allocations: 11.98 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007909, allocations: 7.938 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.007916, allocations: 8.031 kB / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007917, allocations: 0 / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007919, allocations: 4.078 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.882e-05/0.008018, allocations: 215 kB / 331.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.008031, allocations: 15.84 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.008047, allocations: 7.984 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.008086, allocations: 4 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.008108, allocations: 3.984 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.008119, allocations: 4 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.084e-05/0.008159, allocations: 48.34 kB / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008159, allocations: 4 kB / 331.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.008309, allocations: 27.94 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001191/0.009499, allocations: 0.5747 MB / 332 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.009599, allocations: 48.77 kB / 332.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.009603, allocations: 0 / 332.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.009633, allocations: 24.78 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.009809, allocations: 42.5 kB / 332.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.0101, allocations: 220 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.01014, allocations: 63.34 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.692e-05/0.01018, allocations: 21.39 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.01024, allocations: 63.38 kB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01024, allocations: 0 / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of Templates: time 0.003633/0.01387, allocations: 2.006 MB / 334.5 MB, free: 14.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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.9568441617302597]