Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.001051/0.001051, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.002202/0.002202, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.8864/0.8864, allocations: 158.6 MB / 186 MB, free: 2.758 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.1398/0.1398, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.517e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00208/0.002096, allocations: 1.65 MB / 300.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000469/0.002565, allocations: 339.3 kB / 301.1 MB, free: 208 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.002606, allocations: 0 / 301.1 MB, free: 208 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1201/0.1227, allocations: 449.4 kB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.1231, allocations: 255.5 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1233, allocations: 106.8 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.1237, allocations: 166.4 kB / 302 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.436e-05/0.1238, allocations: 10.98 kB / 302 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.124, allocations: 120 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.1242, allocations: 197 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1242, allocations: 7.281 kB / 302.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.1243, allocations: 32.16 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.1244, allocations: 83.94 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.1244, allocations: 36.38 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.1247, allocations: 197.5 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1247, allocations: 0.5938 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1247, allocations: 0 / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1247, allocations: 2 kB / 302.7 MB, free: 19.16 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.0004527/0.1251, allocations: 0.5409 MB / 303.2 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1252, allocations: 9.781 kB / 303.2 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.1252, allocations: 24.86 kB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1254, allocations: 242.5 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.1254, allocations: 4.656 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1254, allocations: 3.25 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.1255, allocations: 62.69 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.026e-06/0.1255, allocations: 1.266 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.1255, allocations: 5.75 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1255, allocations: 1.375 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.25e-05/0.1255, allocations: 8.609 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1257, allocations: 165.3 kB / 303.7 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.1258, allocations: 32.31 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.1258, allocations: 9.062 kB / 303.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1258, allocations: 1.375 kB / 303.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.1258, allocations: 39.66 kB / 303.8 MB, free: 18.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1258, allocations: 1.062 kB / 303.8 MB, free: 18.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003112/0.1261, allocations: 117.8 kB / 303.9 MB, free: 18.24 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1261, allocations: 52.66 kB / 304 MB, free: 18.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.1266, allocations: 0.5251 MB / 304.5 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.1266, allocations: 27.58 kB / 304.5 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.1267, allocations: 138.2 kB / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1267, allocations: 26.78 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.1267, allocations: 24.81 kB / 304.7 MB, free: 17.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.1268, allocations: 355.1 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.1268, allocations: 5.75 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.1268, allocations: 8.656 kB / 305.1 MB, free: 17.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.1268, allocations: 28.59 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1268, allocations: 0 / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.386e-05/0.1269, allocations: 78.14 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1269, allocations: 4.938 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1269, allocations: 0 / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1269, allocations: 1.844 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.127, allocations: 15.28 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.127, allocations: 2.453 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.127, allocations: 5.391 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.127, allocations: 4.328 kB / 305.2 MB, free: 17.54 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 5.474e-05/0.1271, allocations: 118.9 kB / 305.3 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1271, allocations: 28.34 kB / 305.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.1272, allocations: 91.72 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1273, allocations: 5.031 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1273, allocations: 0.6562 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1273, allocations: 1.219 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1275, allocations: 285.4 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1275, allocations: 1.938 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.1275, allocations: 14.14 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1275, allocations: 2.375 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.1275, allocations: 3 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1275, allocations: 1.188 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1275, allocations: 1.797 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.572e-05/0.1276, allocations: 175 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.1277, allocations: 34.11 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1277, allocations: 2.047 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.1277, allocations: 5.812 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1277, allocations: 4.922 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1278, allocations: 5.031 kB / 306 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002268/0.128, allocations: 286.1 kB / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.128, allocations: 0 / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.1281, allocations: 24.61 kB / 306.3 MB, free: 17 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.001018/0.1291, allocations: 0.4977 MB / 306.8 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.1292, allocations: 34 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.1292, allocations: 4.688 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.1292, allocations: 20.03 kB / 306.8 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.1294, allocations: 32.88 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.13, allocations: 0.5762 MB / 307.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.602e-05/0.1301, allocations: 123.7 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.1301, allocations: 13.39 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.723e-05/0.1302, allocations: 63.95 kB / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1302, allocations: 0 / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.004185/0.1344, allocations: 1.522 MB / 309.2 MB, free: 16.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.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: 2.8118562772870064]