Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001007/0.001007, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001057/0.001057, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9861/0.9861, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1552/0.1552, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.752e-05, allocations: 6.25 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.005587/0.005614, allocations: 1.655 MB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005708/0.006185, allocations: 343.3 kB / 349.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.006243, allocations: 4 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.006773, allocations: 459.1 kB / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.007087, allocations: 251.4 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.007407, allocations: 155.6 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.01064, allocations: 159.7 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.01076, allocations: 20.16 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.01087, allocations: 115.8 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.01107, allocations: 239.6 kB / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.01109, allocations: 0 / 351 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-05/0.01118, allocations: 39.86 kB / 351.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.01126, allocations: 79.72 kB / 351.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.01131, allocations: 43.67 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.01155, allocations: 195.2 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01155, allocations: 0 / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01155, allocations: 0 / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.01156, allocations: 0 / 351.4 MB, free: 5.707 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.000566/0.01212, allocations: 0.6854 MB / 352.1 MB, free: 4.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.01217, allocations: 15.97 kB / 352.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.01224, allocations: 48.61 kB / 352.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.01243, allocations: 232.9 kB / 352.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.01244, allocations: 8.375 kB / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.01246, allocations: 384 / 352.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.01259, allocations: 62.94 kB / 352.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.0126, allocations: 4.188 kB / 352.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.01261, allocations: 3.938 kB / 352.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01262, allocations: 0 / 352.4 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.01266, allocations: 11.94 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.01307, allocations: 431.6 kB / 352.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.01325, allocations: 46.98 kB / 352.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.01327, allocations: 11.69 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01329, allocations: 0 / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.01331, allocations: 37.33 kB / 353 MB, free: 3.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.01331, allocations: 4 kB / 353 MB, free: 3.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.003411/0.01672, allocations: 189.1 kB / 353.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.01675, allocations: 55.39 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.01715, allocations: 0.6199 MB / 353.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.01716, allocations: 29.69 kB / 353.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.01729, allocations: 282.8 kB / 354.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.01731, allocations: 11.84 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.01735, allocations: 23.38 kB / 354.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.01745, allocations: 0.5547 MB / 354.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.01747, allocations: 8 kB / 354.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.01748, allocations: 4 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.01753, allocations: 35.86 kB / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01753, allocations: 0 / 354.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.96e-05/0.01763, allocations: 93.34 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01764, allocations: 8 kB / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01764, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01766, allocations: 0 / 354.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.01771, allocations: 15.98 kB / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01771, allocations: 0 / 354.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.01775, allocations: 4 kB / 354.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.01775, allocations: 0 / 354.9 MB, free: 1.992 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 6.001e-05/0.01781, allocations: 168.5 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.01785, allocations: 43.72 kB / 355.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.018, allocations: 101.1 kB / 355.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.018, allocations: 0 / 355.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.018, allocations: 0 / 355.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01801, allocations: 0 / 355.2 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.01834, allocations: 461.3 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01834, allocations: 0 / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.01837, allocations: 8 kB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01837, allocations: 7.938 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.01838, allocations: 8 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01838, allocations: 4.125 kB / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01839, allocations: 4 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.01848, allocations: 243.6 kB / 355.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.01851, allocations: 35.7 kB / 356 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.01853, allocations: 4 kB / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-05/0.01859, allocations: 0 / 356 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.01862, allocations: 4 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.01863, allocations: 3.984 kB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.01887, allocations: 418.8 kB / 356.4 MB, free: 444 kB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01887, allocations: 0 / 356.4 MB, free: 444 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000244/0.01912, allocations: 31.94 kB / 356.4 MB, free: 412 kB / 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.003926/0.02304, allocations: 372.7 kB / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.02315, allocations: 35.61 kB / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02315, allocations: 0 / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.02318, allocations: 19.69 kB / 356.8 MB, free: 68 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.02351, allocations: 35.14 kB / 356.9 MB, free: 36 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.02429, allocations: 0.5744 MB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.0244, allocations: 123.2 kB / 357.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.02445, allocations: 15.97 kB / 357.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.02448, allocations: 12.5 kB / 357.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02448, allocations: 4 kB / 357.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004535/0.02901, allocations: 1.45 MB / 359 MB, free: 13.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.3299108329229057]