Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0009383/0.0009383, 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.0009655/0.0009655, allocations: 165 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.9401/0.9401, allocations: 177.1 MB / 205 MB, free: 5.457 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.2557/0.2557, allocations: 34.26 MB / 295.7 MB, free: 0.7227 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.346e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002015/0.002028, allocations: 1.78 MB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003164, allocations: 1.013 MB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.003238, allocations: 0 / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.003546, allocations: 99.55 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.003859, allocations: 119.4 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.004056, allocations: 87.59 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.004234, allocations: 127.6 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.004324, allocations: 11.98 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.142e-05/0.004415, allocations: 71.75 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.004522, allocations: 59.86 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.004538, allocations: 4 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.004631, allocations: 63.91 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.004681, allocations: 27.92 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.004718, allocations: 23.86 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.004896, allocations: 119.5 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004898, allocations: 3.938 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004899, allocations: 0 / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004903, allocations: 4 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000463/0.005366, allocations: 463.8 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.0054, allocations: 8.031 kB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.005454, allocations: 20.83 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005621, allocations: 165.2 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.005639, allocations: 384 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.00566, allocations: 4.375 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.005782, allocations: 66.88 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.005794, allocations: 3.938 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005804, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005811, allocations: 8 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.005846, allocations: 11.98 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.006158, allocations: 303.7 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.00634, allocations: 62.92 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.006372, allocations: 23.8 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.006383, allocations: 0 / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.629e-05/0.006479, allocations: 65.05 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.00648, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005016/0.006982, allocations: 233.1 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.007017, allocations: 59.39 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.007179, allocations: 259 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.007194, allocations: 29.7 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.007261, allocations: 158.9 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.007294, allocations: 39.75 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.007331, allocations: 31.38 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.007463, allocations: 0.5078 MB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.007493, allocations: 20 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.007536, allocations: 43.11 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.09e-05/0.007607, allocations: 63.47 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007608, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000129/0.007737, allocations: 121.4 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.007751, allocations: 4 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007755, allocations: 0 / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.007769, allocations: 4 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.394e-05/0.007823, allocations: 19.94 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007829, allocations: 0 / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.007859, allocations: 11.98 kB / 384.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.007867, allocations: 8.031 kB / 384.5 MB, free: 11.93 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 (13): * Single equations (assignments): 13 * 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.018e-05/0.007937, allocations: 160.5 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.007956, allocations: 23.89 kB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.008123, allocations: 131 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008125, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.008128, allocations: 4 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.008131, allocations: 0 / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.008437, allocations: 444.6 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008438, allocations: 4.062 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.008467, allocations: 19.94 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.00847, allocations: 3.984 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.008479, allocations: 4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008481, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008483, allocations: 3.938 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.008636, allocations: 287.1 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.008648, allocations: 15.84 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.008665, allocations: 3.984 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.008705, allocations: 8 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.008737, allocations: 15.92 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.00875, allocations: 4 kB / 385.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.645e-05/0.008836, allocations: 183.1 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008836, allocations: 0 / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.009019, allocations: 27.94 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009773/0.009997, allocations: 493.8 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01012, allocations: 67.59 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-06/0.01012, allocations: 0 / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.01017, allocations: 43.61 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01039, allocations: 39.42 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.01072, allocations: 265.4 kB / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01077, allocations: 71.52 kB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.0108, allocations: 20.64 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.01084, allocations: 24.48 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01084, allocations: 0 / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of Templates: time 0.003855/0.01469, allocations: 2.272 MB / 389.1 MB, free: 7.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.06876955088228]