Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009287/0.0009287, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003252/0.004181, 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.001281/0.001281, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001769/0.00305, 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 1.139/1.139, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08525/1.225, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.3521/0.3521, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0313/0.3834, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.Tables.CombiTimeTable.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.612e-05, allocations: 5.281 kB / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002177/0.002194, allocations: 1.811 MB / 294.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.003512, allocations: 1.021 MB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.003591, allocations: 0 / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.003836, allocations: 51.58 kB / 295.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.004064, allocations: 83.55 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.004232, allocations: 87.55 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.004412, allocations: 107.6 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.004499, allocations: 4 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.004627, allocations: 83.8 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.004715, allocations: 27.91 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.004732, allocations: 4 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.00482, allocations: 43.88 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.004871, allocations: 19.92 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.004902, allocations: 15.94 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.005073, allocations: 95.66 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.005084, allocations: 0 / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005086, allocations: 7.938 kB / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.005097, allocations: 3.938 kB / 296.4 MB, free: 2.633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004838/0.005581, allocations: 329.1 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.00563, allocations: 8.031 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.005661, allocations: 8.938 kB / 296.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.005824, allocations: 146.2 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.005837, allocations: 384 / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.005856, allocations: 8.375 kB / 296.9 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.005952, allocations: 57.77 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.00596, allocations: 3.938 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.005968, allocations: 8 kB / 296.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005974, allocations: 7.938 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.006004, allocations: 7.984 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.006212, allocations: 161.9 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.006327, allocations: 85.28 kB / 297.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.006352, allocations: 16.91 kB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.006365, allocations: 0 / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.006469, allocations: 70.05 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.00647, allocations: 4 kB / 297.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000304/0.006774, allocations: 117.5 kB / 297.4 MB, free: 1.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.006805, allocations: 55.41 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006909, allocations: 165 kB / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.006926, allocations: 29.7 kB / 297.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.006961, allocations: 92.11 kB / 297.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.006987, allocations: 27.73 kB / 297.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.007017, allocations: 25.7 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.007097, allocations: 330.7 kB / 298.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.007114, allocations: 10.83 kB / 298.1 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.007136, allocations: 25.7 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.007185, allocations: 48.45 kB / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.007186, allocations: 0 / 298.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.876e-05/0.007265, allocations: 76.44 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.007279, allocations: 4 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007283, allocations: 0 / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.007298, allocations: 0 / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.007372, allocations: 19.98 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.007376, allocations: 0 / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.949e-05/0.007406, allocations: 8.031 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.007413, allocations: 4 kB / 298.3 MB, free: 0.5312 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: 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.298e-05/0.007476, allocations: 112.7 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.007494, allocations: 19.92 kB / 298.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.007651, allocations: 75.06 kB / 298.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007654, allocations: 0 / 298.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.007655, allocations: 0 / 298.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007659, allocations: 0 / 298.5 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.007901, allocations: 299.5 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007904, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.007932, allocations: 16.03 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007942, allocations: 7.891 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.007944, allocations: 4 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.007951, allocations: 0 / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007952, allocations: 3.938 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.007956, allocations: 4 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.008054, allocations: 211.1 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.008071, allocations: 3.984 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.008113, allocations: 4 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.008149, allocations: 11.92 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.008161, allocations: 8.375 kB / 299.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.778e-05/0.008219, allocations: 45.28 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008219, allocations: 0 / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.008376, allocations: 31.92 kB / 299.1 MB, free: 15.62 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.00152/0.009895, allocations: 0.6513 MB / 299.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.009987, allocations: 40.83 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.009995, allocations: 7.938 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.01003, allocations: 32.77 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01026, allocations: 184.9 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004559/0.01072, allocations: 220.2 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.01077, allocations: 67.34 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.01081, allocations: 12.97 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.01087, allocations: 63.38 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01087, allocations: 0 / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003745/0.01461, allocations: 2.038 MB / 302.4 MB, free: 12.61 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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: 3.0750233083963394]