Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001761/0.001761, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.002481/0.002481, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2399/0.2399, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.89 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.138, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003213/0.1412, allocations: 1.613 MB / 0.5581 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1423, allocations: 0.5533 MB / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.1424, allocations: 0 / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.1426, allocations: 19.84 kB / 0.5587 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.1429, allocations: 83.62 kB / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1432, allocations: 95.69 kB / 0.5588 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.1434, allocations: 79.75 kB / 0.5589 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1435, allocations: 8 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.1435, allocations: 23.92 kB / 0.5589 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.1436, allocations: 35.83 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1436, allocations: 4 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1438, allocations: 111.8 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.1439, allocations: 11.98 kB / 0.5591 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.1439, allocations: 31.8 kB / 0.5591 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1442, allocations: 151.4 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1442, allocations: 3.938 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1442, allocations: 0 / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1442, allocations: 0 / 0.5593 GB, free: 2.496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006195/0.1448, allocations: 418.7 kB / 0.5597 GB, free: 2.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1449, allocations: 8.031 kB / 0.5597 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.1449, allocations: 8.891 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1452, allocations: 202.1 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1452, allocations: 4.375 kB / 0.5599 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1452, allocations: 4.375 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1454, allocations: 71.45 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1454, allocations: 4 kB / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1454, allocations: 0 / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1454, allocations: 0 / 0.56 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1455, allocations: 31.97 kB / 0.56 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.146, allocations: 292.8 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1461, allocations: 62.48 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.1462, allocations: 24.97 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1462, allocations: 0 / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1463, allocations: 38.56 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1463, allocations: 4 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007092/0.147, allocations: 185.4 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.1471, allocations: 77.11 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1473, allocations: 155.5 kB / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1473, allocations: 25.7 kB / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.1473, allocations: 100.1 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1474, allocations: 23.86 kB / 0.5609 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.1474, allocations: 25.7 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1476, allocations: 326.8 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.1476, allocations: 28.36 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1477, allocations: 49.62 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1479, allocations: 76.98 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1479, allocations: 4 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002612/0.1482, allocations: 117.7 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1482, allocations: 8 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1482, allocations: 0 / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1482, allocations: 3.938 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1483, allocations: 19.98 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1483, allocations: 0 / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.1484, allocations: 15.94 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.1484, allocations: 0 / 0.5616 GB, free: 15.88 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 (9): * Single equations (assignments): 9 * 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.0001085/0.1485, allocations: 131.7 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.1486, allocations: 7.953 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1489, allocations: 118.4 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1489, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1489, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1489, allocations: 0 / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005494/0.1494, allocations: 398.4 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1494, allocations: 0 / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.1495, allocations: 23.98 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1495, allocations: 3.984 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1495, allocations: 3.938 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1495, allocations: 0 / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1495, allocations: 0 / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.1498, allocations: 207.3 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.1499, allocations: 89.05 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1499, allocations: 7.938 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.15, allocations: 4 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.15, allocations: 7.984 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.15, allocations: 0 / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1501, allocations: 128.8 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1501, allocations: 0 / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1504, allocations: 39.88 kB / 0.5627 GB, free: 14.63 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 (8): * Single equations (assignments): 8 * 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.001812/0.1522, allocations: 0.5042 MB / 0.5632 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.1525, allocations: 71.88 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1525, allocations: 0 / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.1526, allocations: 39.91 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.153, allocations: 15.94 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.1535, allocations: 227.6 kB / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1538, allocations: 0.6926 MB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1539, allocations: 19.42 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1539, allocations: 3.938 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of Templates: time 0.004619/0.1585, allocations: 2.165 MB / 0.5664 GB, free: 11.03 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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: 8.147804324020399]