Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001552/0.001552, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.00169/0.00169, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 46.93 MB / 357.8 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.91 kB / 0.4921 GB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1272, allocations: 65.99 MB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003502/0.1307, allocations: 1.655 MB / 0.5582 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1318, allocations: 0.5572 MB / 0.5587 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.1319, allocations: 4 kB / 0.5587 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.1325, allocations: 447.1 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.133, allocations: 295.3 kB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1334, allocations: 135.2 kB / 0.5595 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1336, allocations: 167.6 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1337, allocations: 8 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1339, allocations: 127.6 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.1342, allocations: 243.5 kB / 0.5601 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1342, allocations: 4 kB / 0.5601 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1343, allocations: 31.98 kB / 0.5601 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1344, allocations: 87.67 kB / 0.5602 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.687e-05/0.1345, allocations: 98.94 kB / 0.5603 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003669/0.1349, allocations: 266.6 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1349, allocations: 0 / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1349, allocations: 4 kB / 0.5605 GB, free: 1.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1349, allocations: 0 / 0.5605 GB, free: 1.277 MB / 414.1 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.0008815/0.1358, allocations: 0.6451 MB / 0.5612 GB, free: 0.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1358, allocations: 15.97 kB / 0.5612 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.1359, allocations: 44.66 kB / 0.5612 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1363, allocations: 296.6 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1363, allocations: 8.312 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1363, allocations: 4.375 kB / 0.5615 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1365, allocations: 65.78 kB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1365, allocations: 0 / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1365, allocations: 0 / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1365, allocations: 0 / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.1366, allocations: 27.97 kB / 0.5616 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1372, allocations: 384.6 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.1374, allocations: 46.55 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1374, allocations: 16.86 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1375, allocations: 0 / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1375, allocations: 30.56 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1375, allocations: 0 / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006997/0.1382, allocations: 240.8 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.1382, allocations: 51.41 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.1392, allocations: 0.8653 MB / 0.5632 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1392, allocations: 25.7 kB / 0.5632 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.1394, allocations: 224 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.1394, allocations: 11.91 kB / 0.5634 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.1395, allocations: 21.7 kB / 0.5635 GB, free: 14.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1397, allocations: 362.7 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.1398, allocations: 19.98 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.1398, allocations: 23.92 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.14, allocations: 48.83 kB / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.14, allocations: 0 / 0.5639 GB, free: 13.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002577/0.1402, allocations: 121.3 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1402, allocations: 5.875 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1403, allocations: 7.984 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1403, allocations: 256 / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.1403, allocations: 12 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1403, allocations: 4 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1404, allocations: 15.86 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1404, allocations: 3.938 kB / 0.5641 GB, free: 13.44 MB / 430.1 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 0.0002034/0.1406, allocations: 212 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.1407, allocations: 43.72 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.141, allocations: 137.1 kB / 0.5644 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.141, allocations: 4 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.141, allocations: 0 / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.141, allocations: 3.938 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.1416, allocations: 462.5 kB / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1416, allocations: 0 / 0.5649 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.1417, allocations: 12 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1417, allocations: 0 / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1417, allocations: 7.938 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1417, allocations: 3.984 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1417, allocations: 0 / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.142, allocations: 211.2 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.1421, allocations: 112.8 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1421, allocations: 7.938 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.1422, allocations: 11.98 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1422, allocations: 4 kB / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1422, allocations: 0 / 0.5652 GB, free: 12.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007036/0.1429, allocations: 0.655 MB / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 0.5659 GB, free: 11.47 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1432, allocations: 23.94 kB / 0.5659 GB, free: 11.45 MB / 430.1 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.001565/0.1448, allocations: 420.7 kB / 0.5663 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.145, allocations: 43.97 kB / 0.5663 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.145, allocations: 0 / 0.5663 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.051e-05/0.1451, allocations: 27.92 kB / 0.5664 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1455, allocations: 31.22 kB / 0.5664 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1468, allocations: 0.8351 MB / 0.5672 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.1473, allocations: 0.826 MB / 0.568 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.1473, allocations: 15.44 kB / 0.568 GB, free: 9.359 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1473, allocations: 0 / 0.568 GB, free: 9.359 MB / 430.1 MB Notification: Performance of Templates: time 0.007382/0.1547, allocations: 3.717 MB / 0.5717 GB, free: 5.633 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8461781200021505]