Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0008642/0.0008642, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002076, 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.0006439/0.0006439, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009379/0.001582, 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.9279/0.9279, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1757/1.104, allocations: 52.5 MB / 238.5 MB, free: 7.629 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.1277/0.1277, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01965/0.1474, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.254e-05, allocations: 9.406 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001908/0.001931, allocations: 1.708 MB / 287.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003103, allocations: 1.189 MB / 288.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.003134, allocations: 0 / 288.8 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.138e-05/0.003216, allocations: 19.8 kB / 288.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.003318, allocations: 47.66 kB / 288.8 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.003504, allocations: 127.6 kB / 289 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.003593, allocations: 59.78 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.003657, allocations: 24.11 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.629e-05/0.003733, allocations: 43.91 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.003807, allocations: 27.89 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.00382, allocations: 4 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.003915, allocations: 59.8 kB / 289.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.003952, allocations: 12 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.003967, allocations: 11.94 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.004087, allocations: 75.73 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.004095, allocations: 4 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004096, allocations: 0 / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.004103, allocations: 0 / 289.3 MB, free: 4.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002734/0.004377, allocations: 304.1 kB / 289.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.004401, allocations: 8.031 kB / 289.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.004428, allocations: 8.922 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/0.004527, allocations: 117.7 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.004534, allocations: 8.375 kB / 289.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.00455, allocations: 12.33 kB / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.004646, allocations: 110.3 kB / 289.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004652, allocations: 8.109 kB / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004659, allocations: 3.938 kB / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.004662, allocations: 0 / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.004683, allocations: 8 kB / 289.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.004833, allocations: 160.3 kB / 290 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.004878, allocations: 30.52 kB / 290 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.004892, allocations: 12.86 kB / 290.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.004906, allocations: 0 / 290.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.004923, allocations: 38.5 kB / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.004924, allocations: 0 / 290.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000232/0.005156, allocations: 109.6 kB / 290.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.005174, allocations: 51.41 kB / 290.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.646e-05/0.005241, allocations: 130.2 kB / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.005249, allocations: 25.7 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.005277, allocations: 88.12 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.005295, allocations: 27.73 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.005323, allocations: 29.7 kB / 290.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.00539, allocations: 318.8 kB / 290.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.005401, allocations: 8 kB / 290.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.00543, allocations: 47.48 kB / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.005459, allocations: 32.75 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005459, allocations: 0 / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.994e-05/0.005509, allocations: 57.56 kB / 291 MB, free: 3.066 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005521, allocations: 4 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.005524, allocations: 0 / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.005531, allocations: 0 / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.005586, allocations: 19.98 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.005588, allocations: 4.031 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.005609, allocations: 8 kB / 291 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-06/0.005612, allocations: 0 / 291 MB, free: 3.031 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 (7): * Single equations (assignments): 7 * 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 4.696e-05/0.005659, allocations: 120.6 kB / 291.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.005674, allocations: 7.938 kB / 291.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.005746, allocations: 62.11 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.005748, allocations: 4 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.00575, allocations: 0 / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005752, allocations: 0 / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.005921, allocations: 226.7 kB / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005922, allocations: 0 / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.005957, allocations: 19.98 kB / 291.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.005964, allocations: 7.953 kB / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005965, allocations: 0 / 291.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.005969, allocations: 3.984 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.00597, allocations: 0 / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005971, allocations: 0 / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.006317, allocations: 155.8 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.006326, allocations: 4 kB / 291.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.006362, allocations: 11.98 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.006386, allocations: 11.98 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.006389, allocations: 0 / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.033e-05/0.00641, allocations: 20.84 kB / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00641, allocations: 0 / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.006544, allocations: 23.94 kB / 291.7 MB, free: 2.309 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001201/0.007745, allocations: 0.6199 MB / 292.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.299e-05/0.007818, allocations: 32.84 kB / 292.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.007823, allocations: 0 / 292.3 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.007851, allocations: 32.78 kB / 292.4 MB, free: 1.914 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.008008, allocations: 79.33 kB / 292.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.008429, allocations: 190.3 kB / 292.6 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.008461, allocations: 67.34 kB / 292.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.008504, allocations: 20.33 kB / 292.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.008562, allocations: 67.36 kB / 292.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008563, allocations: 0 / 292.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.002886/0.01145, allocations: 1.666 MB / 294.5 MB, free: 15.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.7552627129480243]