Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.0009967/0.0009967, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009912/0.0009912, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9825/0.9825, allocations: 177.1 MB / 205 MB, free: 5.633 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.3203/0.3203, allocations: 32.8 MB / 294.3 MB, free: 1.258 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.482e-05, allocations: 5.266 kB / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.005887/0.005922, allocations: 1.766 MB / 377.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.009188, allocations: 1.005 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.009326, allocations: 3.938 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.009743, allocations: 39.77 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004834/0.01023, allocations: 99.47 kB / 379 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.01053, allocations: 79.59 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.01077, allocations: 107.6 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.01089, allocations: 7.984 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.01103, allocations: 59.83 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.01113, allocations: 23.91 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.01115, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.01127, allocations: 47.92 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.01134, allocations: 15.92 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.0114, allocations: 23.92 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.01167, allocations: 99.53 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.01168, allocations: 4 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01168, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.01169, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.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.0006747/0.01236, allocations: 439.9 kB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.01241, allocations: 12.03 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.01248, allocations: 16.89 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.01274, allocations: 152.4 kB / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.01277, allocations: 384 / 380.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.0128, allocations: 8.312 kB / 380.1 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.01301, allocations: 58.94 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.01303, allocations: 7.938 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.01304, allocations: 0 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.01306, allocations: 0 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.036e-05/0.01312, allocations: 15.98 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.01358, allocations: 279.8 kB / 380.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.01374, allocations: 59.11 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.341e-05/0.01378, allocations: 15.62 kB / 380.5 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.01383, allocations: 8.031 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.01399, allocations: 72.92 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.235e-06/0.01399, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005835/0.01458, allocations: 161.3 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.01462, allocations: 55.41 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.01482, allocations: 230.6 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.01483, allocations: 25.7 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.01489, allocations: 146.9 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.01493, allocations: 27.78 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.01497, allocations: 27.38 kB / 381.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.0151, allocations: 0.5 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.01513, allocations: 11.98 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.01517, allocations: 35.36 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.01523, allocations: 47.31 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01524, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001266/0.01536, allocations: 97.53 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.01538, allocations: 9.875 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.01539, allocations: 4.359 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.01541, allocations: 0 / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.0155, allocations: 12 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.01551, allocations: 7.938 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.01555, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.01555, allocations: 4 kB / 382 MB, free: 14.43 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: 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 8.779e-05/0.01564, allocations: 168.5 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.772e-05/0.01566, allocations: 11.98 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.01585, allocations: 111.2 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.01586, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01586, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01586, allocations: 0 / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.01621, allocations: 392.9 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01621, allocations: 0 / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.01625, allocations: 12 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01626, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01627, allocations: 7.984 kB / 382.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01627, allocations: 8.031 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01627, allocations: 0 / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.01644, allocations: 255.4 kB / 382.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.01645, allocations: 15.84 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01647, allocations: 0 / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.01652, allocations: 8 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01656, allocations: 3.984 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.01658, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.01667, allocations: 167.8 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01667, allocations: 3.938 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.01686, allocations: 31.92 kB / 383.2 MB, free: 13.17 MB / 362.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.0009973/0.01786, allocations: 434.7 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.01802, allocations: 55.59 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01802, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.01807, allocations: 31.67 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.01833, allocations: 34.42 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.01878, allocations: 218.4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01883, allocations: 67.33 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.01886, allocations: 17.28 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.0189, allocations: 16.48 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.0189, allocations: 4 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of Templates: time 0.004277/0.02318, allocations: 1.867 MB / 385.9 MB, free: 10.56 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.4540097736753523]