Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.0009886/0.0009886, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001604/0.001604, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9381/0.9381, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.1447/0.1447, 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.CombiTable2D.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.823e-05, allocations: 4.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002673/0.002701, allocations: 1.661 MB / 349.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006254/0.003327, allocations: 319.4 kB / 349.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.003385, allocations: 0 / 349.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.003968, allocations: 463 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.004348, allocations: 255.4 kB / 350.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.004624, allocations: 103.7 kB / 350.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.004859, allocations: 171.6 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004974, allocations: 16.17 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.00511, allocations: 115.8 kB / 350.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.005345, allocations: 235.7 kB / 351 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.005377, allocations: 4 kB / 351 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.78e-05/0.005474, allocations: 31.97 kB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.005584, allocations: 83.66 kB / 351.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.005631, allocations: 43.67 kB / 351.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.005902, allocations: 195.2 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005905, allocations: 4 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005906, allocations: 0 / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.005912, allocations: 0 / 351.3 MB, free: 5.758 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.000699/0.006611, allocations: 0.6815 MB / 352 MB, free: 5.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.006653, allocations: 12.03 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.006727, allocations: 52.61 kB / 352.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.006941, allocations: 240.9 kB / 352.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.006953, allocations: 4.375 kB / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.006983, allocations: 384 / 352.3 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.00713, allocations: 66.94 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.007143, allocations: 4.188 kB / 352.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.007154, allocations: 3.938 kB / 352.4 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.007164, allocations: 4 kB / 352.4 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.45e-05/0.007208, allocations: 7.938 kB / 352.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.00767, allocations: 431.5 kB / 352.8 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.007758, allocations: 39.09 kB / 352.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.007787, allocations: 15.67 kB / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.007814, allocations: 0 / 352.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.007833, allocations: 37.39 kB / 352.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.007834, allocations: 4 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005345/0.008368, allocations: 208.8 kB / 353.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.008393, allocations: 51.41 kB / 353.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.008913, allocations: 0.6238 MB / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.008921, allocations: 29.7 kB / 353.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.009083, allocations: 278.7 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.00911, allocations: 27.78 kB / 354.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.009146, allocations: 23.38 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.009281, allocations: 0.5547 MB / 354.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.009312, allocations: 11.98 kB / 354.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.009337, allocations: 12 kB / 354.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.009395, allocations: 27.69 kB / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009397, allocations: 0 / 354.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001373/0.009534, allocations: 101.6 kB / 354.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.009551, allocations: 4 kB / 354.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.009558, allocations: 4.281 kB / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.009584, allocations: 0 / 354.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.009707, allocations: 19.92 kB / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009713, allocations: 0 / 354.9 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.009762, allocations: 11.98 kB / 354.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.00977, allocations: 4 kB / 354.9 MB, free: 1.984 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 7.438e-05/0.009845, allocations: 160.5 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.009901, allocations: 59.66 kB / 355.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.01008, allocations: 105.5 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01008, allocations: 0 / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01009, allocations: 0 / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01009, allocations: 7.922 kB / 355.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.01054, allocations: 477.3 kB / 355.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01054, allocations: 3.938 kB / 355.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.01061, allocations: 23.98 kB / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01061, allocations: 0 / 355.7 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01062, allocations: 4 kB / 355.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01062, allocations: 0 / 355.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01062, allocations: 0 / 355.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.01076, allocations: 251.5 kB / 356 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.01079, allocations: 35.72 kB / 356 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01082, allocations: 0 / 356 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.0109, allocations: 7.984 kB / 356 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.01094, allocations: 11.98 kB / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.01095, allocations: 0 / 356 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000315/0.01126, allocations: 422.8 kB / 356.4 MB, free: 380 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01126, allocations: 4 kB / 356.4 MB, free: 376 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.01155, allocations: 23.94 kB / 356.5 MB, free: 352 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 (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.001138/0.01269, allocations: 370.6 kB / 356.8 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.01282, allocations: 43.59 kB / 356.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01282, allocations: 0 / 356.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.01289, allocations: 27.91 kB / 356.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.01327, allocations: 31.3 kB / 356.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.0142, allocations: 0.5901 MB / 357.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01432, allocations: 119.2 kB / 357.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.01439, allocations: 15.98 kB / 357.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.01443, allocations: 12.5 kB / 357.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01444, allocations: 0 / 357.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004135/0.01857, allocations: 1.479 MB / 359.1 MB, free: 13.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.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.2384838927537203]