Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.001056/0.001056, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001025/0.001025, allocations: 168.6 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.94/0.94, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1327/0.1327, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.668e-05, allocations: 5.406 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003034/0.003061, allocations: 1.634 MB / 350.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.003599, allocations: 319.3 kB / 350.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.00365, allocations: 4 kB / 350.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.004047, allocations: 459 kB / 351.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.0043, allocations: 243.4 kB / 351.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.004495, allocations: 115.6 kB / 351.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.004669, allocations: 159.6 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.004771, allocations: 16.17 kB / 351.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.00487, allocations: 119.8 kB / 352 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.005054, allocations: 231.7 kB / 352.2 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.005074, allocations: 4 kB / 352.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.005149, allocations: 27.94 kB / 352.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.005239, allocations: 87.7 kB / 352.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.00527, allocations: 35.73 kB / 352.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.005449, allocations: 195.1 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005451, allocations: 0 / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005452, allocations: 4 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005457, allocations: 0 / 352.5 MB, free: 5.531 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.0004761/0.005933, allocations: 0.6815 MB / 353.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.005986, allocations: 8.031 kB / 353.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.006034, allocations: 48.66 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.006214, allocations: 248.8 kB / 353.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.006226, allocations: 4.312 kB / 353.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.006248, allocations: 8.375 kB / 353.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.006355, allocations: 50.95 kB / 353.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.006367, allocations: 4.188 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006377, allocations: 7.938 kB / 353.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006383, allocations: 0 / 353.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.006409, allocations: 11.98 kB / 353.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.006665, allocations: 332.2 kB / 353.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.006782, allocations: 46.98 kB / 354 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.006796, allocations: 15.62 kB / 354 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.00681, allocations: 0 / 354 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.006823, allocations: 33.39 kB / 354 MB, free: 3.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.006824, allocations: 0 / 354 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003091/0.007133, allocations: 133.5 kB / 354.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.007154, allocations: 51.41 kB / 354.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.007437, allocations: 0.5962 MB / 354.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-06/0.007443, allocations: 25.7 kB / 354.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.007544, allocations: 294.7 kB / 355.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.007568, allocations: 19.83 kB / 355.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.0076, allocations: 23.38 kB / 355.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.837e-05/0.007678, allocations: 0.5547 MB / 355.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.00769, allocations: 11.92 kB / 355.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.007701, allocations: 4 kB / 355.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.007729, allocations: 23.69 kB / 355.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007731, allocations: 3.938 kB / 355.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.114e-05/0.007802, allocations: 89.41 kB / 355.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.007815, allocations: 4 kB / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007821, allocations: 0 / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.007831, allocations: 0 / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-05/0.007886, allocations: 15.94 kB / 355.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007888, allocations: 3.984 kB / 355.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.007913, allocations: 0 / 355.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.007917, allocations: 4.25 kB / 355.9 MB, free: 2 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 (5): * Single equations (assignments): 5 * 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 5.787e-05/0.007975, allocations: 160.5 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.008005, allocations: 47.72 kB / 356.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.008105, allocations: 97.11 kB / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.008107, allocations: 0 / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.008109, allocations: 0 / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.008111, allocations: 0 / 356.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.008337, allocations: 389.8 kB / 356.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.008337, allocations: 0 / 356.5 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.008363, allocations: 8 kB / 356.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.008364, allocations: 0 / 356.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.008368, allocations: 4 kB / 356.5 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008369, allocations: 3.938 kB / 356.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00837, allocations: 4 kB / 356.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.008452, allocations: 243.5 kB / 356.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.008474, allocations: 39.73 kB / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.008488, allocations: 0 / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.51e-05/0.008523, allocations: 0 / 356.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.008555, allocations: 4 kB / 356.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.008559, allocations: 3.984 kB / 356.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.008724, allocations: 386.7 kB / 357.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008724, allocations: 0 / 357.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.008894, allocations: 27.94 kB / 357.2 MB, free: 0.543 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 (5): * Single equations (assignments): 5 * 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.0007699/0.009664, allocations: 370.9 kB / 357.6 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.726e-05/0.009761, allocations: 39.67 kB / 357.6 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009763, allocations: 3.938 kB / 357.7 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.009781, allocations: 15.69 kB / 357.7 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01003, allocations: 35.09 kB / 357.7 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.0107, allocations: 0.5626 MB / 358.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.721e-05/0.01077, allocations: 119.2 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.01081, allocations: 15.97 kB / 358.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.01086, allocations: 78.2 kB / 358.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01086, allocations: 0 / 358.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of Templates: time 0.004096/0.01496, allocations: 1.481 MB / 360 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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.0308143361471593]