Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.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.001185/0.001185, 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.001214/0.001214, allocations: 168.5 kB / 24.84 MB, free: 9.297 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.9376/0.9376, 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.1348/0.1348, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2e-05, allocations: 4.281 kB / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.002069/0.002089, allocations: 1.638 MB / 350.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.002896, allocations: 1.064 MB / 351.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.002947, allocations: 0 / 351.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.003142, allocations: 23.84 kB / 351.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.003318, allocations: 39.73 kB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.00349, allocations: 115.6 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.0036, allocations: 59.84 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.003695, allocations: 16.17 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.003752, allocations: 27.91 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.003832, allocations: 23.91 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.003848, allocations: 7.938 kB / 351.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.003927, allocations: 55.91 kB / 352 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.003974, allocations: 15.92 kB / 352 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.003991, allocations: 8 kB / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004127, allocations: 99.58 kB / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004128, allocations: 0 / 352.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004129, allocations: 4 kB / 352.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.004133, allocations: 4 kB / 352.1 MB, free: 5.938 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.0003073/0.00444, allocations: 408.1 kB / 352.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.004475, allocations: 12.03 kB / 352.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.004508, allocations: 8.938 kB / 352.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.004632, allocations: 136.4 kB / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.004641, allocations: 384 / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.004658, allocations: 4.375 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.004787, allocations: 104 kB / 352.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.004799, allocations: 4.188 kB / 352.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.00481, allocations: 7.938 kB / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004816, allocations: 0 / 352.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.004843, allocations: 11.92 kB / 352.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.005065, allocations: 252.5 kB / 353 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.005127, allocations: 39.05 kB / 353.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.005142, allocations: 7.688 kB / 353.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.005161, allocations: 11.88 kB / 353.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.005181, allocations: 37.39 kB / 353.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.005182, allocations: 0 / 353.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003223/0.005505, allocations: 117.8 kB / 353.3 MB, free: 4.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.005537, allocations: 77.11 kB / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.005631, allocations: 185.9 kB / 353.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.005639, allocations: 25.7 kB / 353.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.005671, allocations: 142.8 kB / 353.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.005697, allocations: 31.69 kB / 353.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.005726, allocations: 23.36 kB / 353.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.005786, allocations: 0.4923 MB / 354.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.005799, allocations: 4 kB / 354.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.798e-05/0.005827, allocations: 57.06 kB / 354.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.176e-05/0.005859, allocations: 23.69 kB / 354.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.00586, allocations: 7.875 kB / 354.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.367e-05/0.005924, allocations: 69.62 kB / 354.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.005935, allocations: 4 kB / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.005939, allocations: 48 / 354.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.005949, allocations: 7.984 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.00601, allocations: 15.98 kB / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.006013, allocations: 0 / 354.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.006035, allocations: 4 kB / 354.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.006041, allocations: 4.016 kB / 354.4 MB, free: 3.402 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.273e-05/0.006083, allocations: 168.5 kB / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.006102, allocations: 11.89 kB / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.006183, allocations: 70.11 kB / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006184, allocations: 0 / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.006186, allocations: 0 / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006188, allocations: 0 / 354.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.006355, allocations: 310 kB / 355 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006356, allocations: 0 / 355 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.00639, allocations: 23.98 kB / 355 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.006391, allocations: 4 kB / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.006396, allocations: 0 / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006396, allocations: 0 / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006397, allocations: 0 / 355 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.006477, allocations: 216.3 kB / 355.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.006484, allocations: 7.938 kB / 355.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.006495, allocations: 8 kB / 355.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.006531, allocations: 7.938 kB / 355.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.006558, allocations: 7.922 kB / 355.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006561, allocations: 4 kB / 355.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.00659, allocations: 145.9 kB / 355.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00659, allocations: 4 kB / 355.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001685/0.006759, allocations: 27.92 kB / 355.4 MB, free: 2.344 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.0007919/0.007551, allocations: 422.6 kB / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.221e-05/0.007633, allocations: 35.66 kB / 355.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007634, allocations: 0 / 355.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.007654, allocations: 23.62 kB / 355.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.007842, allocations: 27.83 kB / 355.9 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.008085, allocations: 190.5 kB / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.351e-05/0.008108, allocations: 59.34 kB / 356.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.635e-05/0.008145, allocations: 16.28 kB / 356.2 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.008197, allocations: 90.19 kB / 356.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008198, allocations: 0 / 356.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Templates: time 0.002943/0.01114, allocations: 1.754 MB / 358 MB, free: 15.78 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.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.166373294778168]