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.001159/0.001159, allocations: 81.08 kB / 20.66 MB, free: 3.832 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.001232/0.001232, allocations: 169 kB / 24.06 MB, free: 448 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 1.025/1.025, allocations: 158.6 MB / 186 MB, free: 2.789 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.1384/0.1384, allocations: 32.38 MB / 270.7 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.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 1.833e-06/1.833e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.455e-05, allocations: 6.25 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002235/0.002269, allocations: 1.638 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.002786, allocations: 327.3 kB / 350.1 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.002846, allocations: 0 / 350.1 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.003272, allocations: 463 kB / 350.5 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.003551, allocations: 243.4 kB / 350.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.003853, allocations: 115.7 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004029, allocations: 163.6 kB / 351.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.004121, allocations: 16.17 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.004225, allocations: 115.8 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.00439, allocations: 243.6 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.004409, allocations: 0 / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.004482, allocations: 31.98 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.004559, allocations: 83.72 kB / 351.5 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.004596, allocations: 39.73 kB / 351.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.004789, allocations: 199.1 kB / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004792, allocations: 0 / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004793, allocations: 0 / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004797, allocations: 0 / 351.8 MB, free: 5.516 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.0004744/0.005271, allocations: 0.6931 MB / 352.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.005317, allocations: 12.03 kB / 352.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.005366, allocations: 48.61 kB / 352.5 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005521, allocations: 241 kB / 352.8 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005531, allocations: 8.375 kB / 352.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.005553, allocations: 384 / 352.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.005664, allocations: 66.88 kB / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.005679, allocations: 192 / 352.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.005686, allocations: 3.938 kB / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005691, allocations: 0 / 352.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.005714, allocations: 8 kB / 352.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.006012, allocations: 336.2 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.006087, allocations: 42.98 kB / 353.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.006105, allocations: 19.77 kB / 353.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.006131, allocations: 7.938 kB / 353.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.00615, allocations: 37.39 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006151, allocations: 0 / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003708/0.006522, allocations: 145.2 kB / 353.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.00654, allocations: 51.41 kB / 353.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.006816, allocations: 0.5962 MB / 354.1 MB, free: 3.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.006824, allocations: 29.7 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.006925, allocations: 294.7 kB / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.006947, allocations: 15.81 kB / 354.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.006979, allocations: 39.34 kB / 354.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.007065, allocations: 0.5508 MB / 355 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.00708, allocations: 11.97 kB / 355 MB, free: 2.094 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.007093, allocations: 8.016 kB / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.007128, allocations: 27.83 kB / 355 MB, free: 2.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.00713, allocations: 3.938 kB / 355 MB, free: 2.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.15e-05/0.007212, allocations: 97.41 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007225, allocations: 4 kB / 355.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.00723, allocations: 0 / 355.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.007241, allocations: 0 / 355.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.007313, allocations: 19.98 kB / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.007316, allocations: 4 kB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.007343, allocations: 7.938 kB / 355.2 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.007347, allocations: 7.938 kB / 355.2 MB, free: 1.906 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.907e-05/0.007407, allocations: 168.5 kB / 355.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.007435, allocations: 43.72 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.00755, allocations: 101.5 kB / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007552, allocations: 0 / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007554, allocations: 0 / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.007562, allocations: 0 / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.007814, allocations: 405.8 kB / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.007816, allocations: 0 / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.007856, allocations: 15.98 kB / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.007858, allocations: 0 / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.007863, allocations: 0 / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007864, allocations: 0 / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007866, allocations: 4 kB / 355.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.007959, allocations: 247.5 kB / 356.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.007982, allocations: 31.72 kB / 356.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007995, allocations: 7.984 kB / 356.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.008035, allocations: 4 kB / 356.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.008072, allocations: 11.98 kB / 356.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.008076, allocations: 4 kB / 356.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.008226, allocations: 394.7 kB / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008226, allocations: 0 / 356.6 MB, free: 440 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.008387, allocations: 24 kB / 356.6 MB, free: 416 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.0007379/0.009125, allocations: 377.4 kB / 357 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.009224, allocations: 47.58 kB / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009225, allocations: 0 / 357 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.009247, allocations: 23.62 kB / 357 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.009516, allocations: 31.14 kB / 357.1 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.01028, allocations: 0.5784 MB / 357.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.01038, allocations: 123.2 kB / 357.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.213e-05/0.01043, allocations: 8 kB / 357.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.0105, allocations: 78.19 kB / 357.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0105, allocations: 7.938 kB / 357.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Templates: time 0.004378/0.01488, allocations: 1.597 MB / 359.5 MB, free: 13.59 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.2026126962155104]