Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007393/0.0007393, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009801/0.001719, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006409/0.0006409, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009536/0.001595, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.938/0.938, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1623/1.1, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1306/0.1306, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02141/0.152, allocations: 12.53 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.493e-05, allocations: 10.25 kB / 285.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.004026/0.004051, allocations: 1.708 MB / 287.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000804/0.004855, allocations: 438.8 kB / 288 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.004954, allocations: 0 / 288 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.005346, allocations: 487 kB / 288.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.005584, allocations: 279.3 kB / 288.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.005867, allocations: 131.5 kB / 288.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.006041, allocations: 163.6 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.475e-05/0.006125, allocations: 11.98 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.006268, allocations: 155.8 kB / 289.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.006423, allocations: 191.6 kB / 289.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.00644, allocations: 4 kB / 289.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.006531, allocations: 51.86 kB / 289.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.006619, allocations: 83.72 kB / 289.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.006648, allocations: 31.75 kB / 289.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.006862, allocations: 203.2 kB / 289.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.006873, allocations: 4 kB / 289.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006874, allocations: 0 / 289.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.006883, allocations: 0 / 289.8 MB, free: 4.449 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004552/0.007338, allocations: 0.5915 MB / 290.4 MB, free: 3.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.007367, allocations: 8.031 kB / 290.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.007406, allocations: 24.91 kB / 290.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.007572, allocations: 246 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-06/0.007581, allocations: 4.375 kB / 290.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.0076, allocations: 384 / 290.7 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.007685, allocations: 66.89 kB / 290.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.007693, allocations: 192 / 290.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.007706, allocations: 12.12 kB / 290.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.007711, allocations: 0 / 290.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.007734, allocations: 19.91 kB / 290.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.007935, allocations: 176.2 kB / 290.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.396e-05/0.007979, allocations: 30.61 kB / 291 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.007992, allocations: 8.953 kB / 291 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.008009, allocations: 7.922 kB / 291 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.008026, allocations: 34.56 kB / 291 MB, free: 3.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.008026, allocations: 4 kB / 291 MB, free: 3.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003961/0.008423, allocations: 161.4 kB / 291.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.008445, allocations: 51.41 kB / 291.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.008723, allocations: 0.5205 MB / 291.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.008733, allocations: 25.7 kB / 291.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.008786, allocations: 141.3 kB / 291.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.008807, allocations: 27.75 kB / 291.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.008832, allocations: 21.69 kB / 291.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.008912, allocations: 358.7 kB / 292.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.008924, allocations: 11.94 kB / 292.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.008936, allocations: 7.984 kB / 292.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.008966, allocations: 32.83 kB / 292.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.008967, allocations: 0 / 292.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.262e-05/0.00903, allocations: 69.66 kB / 292.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.009039, allocations: 4 kB / 292.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.009042, allocations: 0 / 292.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.009052, allocations: 0 / 292.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.009108, allocations: 19.94 kB / 292.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.009112, allocations: 3.984 kB / 292.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.009134, allocations: 4 kB / 292.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.009139, allocations: 4 kB / 292.4 MB, free: 1.621 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.304e-05/0.009202, allocations: 116.6 kB / 292.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.009226, allocations: 23.97 kB / 292.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.009329, allocations: 101.4 kB / 292.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.00933, allocations: 0 / 292.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.009332, allocations: 3.938 kB / 292.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009335, allocations: 4 kB / 292.7 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.009566, allocations: 303.3 kB / 293 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.009567, allocations: 4 kB / 293 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.0096, allocations: 15.98 kB / 293 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.009623, allocations: 39.7 kB / 293 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.009624, allocations: 0 / 293 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.00963, allocations: 4 kB / 293.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009631, allocations: 0 / 293.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.009632, allocations: 4 kB / 293.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.831e-05/0.00972, allocations: 184.7 kB / 293.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.009733, allocations: 4 kB / 293.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.009769, allocations: 4.031 kB / 293.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.009797, allocations: 11.98 kB / 293.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.009801, allocations: 432 / 293.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.009957, allocations: 287.2 kB / 293.5 MB, free: 484 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009957, allocations: 0 / 293.5 MB, free: 484 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.01009, allocations: 23.94 kB / 293.6 MB, free: 460 kB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001229/0.01132, allocations: 0.6311 MB / 294.2 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.01139, allocations: 32.78 kB / 294.2 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.0114, allocations: 4 kB / 294.2 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.01144, allocations: 32.78 kB / 294.3 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01166, allocations: 93.36 kB / 294.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.01233, allocations: 0.6091 MB / 295 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.868e-05/0.0124, allocations: 119.2 kB / 295.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.01244, allocations: 13.19 kB / 295.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.01249, allocations: 63.36 kB / 295.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01249, allocations: 0 / 295.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of Templates: time 0.003744/0.01623, allocations: 1.713 MB / 296.9 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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: 2.872966748662293]