Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001349/0.001349, allocations: 80.92 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.001939/0.001939, allocations: 172.5 kB / 24.91 MB, free: 9.203 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.9745/0.9745, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2607/0.2607, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.617e-05, allocations: 3.406 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003/0.003026, allocations: 1.758 MB / 325.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004661, allocations: 1.005 MB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.004736, allocations: 0 / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.005019, allocations: 51.69 kB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.00531, allocations: 99.47 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.005527, allocations: 75.67 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.005711, allocations: 107.6 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.005799, allocations: 13.36 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.005913, allocations: 55.77 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.005993, allocations: 23.92 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.00601, allocations: 4 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.006104, allocations: 47.92 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.006159, allocations: 27.84 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.006191, allocations: 19.92 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.006343, allocations: 99.66 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006345, allocations: 0 / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006346, allocations: 0 / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.006349, allocations: 0 / 326.7 MB, free: 6.246 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.0004155/0.006765, allocations: 333.2 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.006802, allocations: 8.031 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.006842, allocations: 12.92 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.007032, allocations: 150.1 kB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.007052, allocations: 8.375 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.007072, allocations: 384 / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.007194, allocations: 65.77 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.007206, allocations: 7.938 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.007213, allocations: 0 / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.007219, allocations: 0 / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.007254, allocations: 11.98 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.007469, allocations: 169.8 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.007559, allocations: 89.34 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.007578, allocations: 16.86 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.007588, allocations: 0 / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.214e-05/0.00767, allocations: 70.14 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.007671, allocations: 0 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002686/0.007939, allocations: 109.5 kB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.007969, allocations: 59.34 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.008069, allocations: 184.2 kB / 328 MB, free: 4.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.008085, allocations: 29.7 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.008114, allocations: 96.06 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.008143, allocations: 31.78 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.008171, allocations: 25.7 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.008244, allocations: 326.8 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.008258, allocations: 6.828 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.008281, allocations: 25.7 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.008323, allocations: 48.52 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.008324, allocations: 0 / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.207e-05/0.008396, allocations: 72.38 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.008408, allocations: 8 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008412, allocations: 4.031 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.008423, allocations: 0 / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.008482, allocations: 23.92 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.008485, allocations: 0 / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.008509, allocations: 4 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.008514, allocations: 0 / 328.6 MB, free: 4.109 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.249e-05/0.008576, allocations: 116.7 kB / 328.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.008589, allocations: 15.92 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.008688, allocations: 79.06 kB / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.008689, allocations: 0 / 328.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.008692, allocations: 8.375 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008695, allocations: 0 / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.008914, allocations: 287.4 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.008918, allocations: 8 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.008954, allocations: 8 kB / 329.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008956, allocations: 0 / 329.2 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008967, allocations: 7.984 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.00897, allocations: 4 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008972, allocations: 0 / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.009102, allocations: 215 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.009117, allocations: 15.94 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.009136, allocations: 4 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.009201, allocations: 7.984 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.009228, allocations: 7.984 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.009239, allocations: 0 / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.009298, allocations: 60.69 kB / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009298, allocations: 0 / 329.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.009521, allocations: 23.94 kB / 329.5 MB, free: 3.188 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.001464/0.01098, allocations: 0.5901 MB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.866e-05/0.01108, allocations: 40.77 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.01109, allocations: 4 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.01112, allocations: 20.84 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.0113, allocations: 40.03 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.0116, allocations: 223.5 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01165, allocations: 67.34 kB / 330.5 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.514e-05/0.01168, allocations: 17.28 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.01175, allocations: 75.34 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01175, allocations: 0 / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of Templates: time 0.003482/0.01523, allocations: 2.022 MB / 332.6 MB, free: 384 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.0414417618885636]