Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001536/0.001536, 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.00163/0.00163, 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.05 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.2448/0.2448, allocations: 46.92 MB / 357.8 MB, free: 10.27 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 64.05 kB / 0.4921 GB, free: 7.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1463, allocations: 66 MB / 0.5565 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003483/0.1498, allocations: 1.601 MB / 0.5581 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.151, allocations: 0.5727 MB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.151, allocations: 4 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.1513, allocations: 23.86 kB / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1516, allocations: 79.61 kB / 0.5588 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1519, allocations: 115.2 kB / 0.5589 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1521, allocations: 71.77 kB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1522, allocations: 8 kB / 0.5589 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.1523, allocations: 31.91 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1524, allocations: 27.84 kB / 0.559 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1524, allocations: 4 kB / 0.559 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1526, allocations: 107.9 kB / 0.5591 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.1527, allocations: 15.92 kB / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.1527, allocations: 27.8 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1531, allocations: 147.5 kB / 0.5593 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1531, allocations: 7.938 kB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1531, allocations: 3.938 kB / 0.5593 GB, free: 2.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1531, allocations: 0 / 0.5593 GB, free: 2.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007328/0.1538, allocations: 406.8 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1539, allocations: 12.03 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1539, allocations: 4.891 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1541, allocations: 194.1 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1542, allocations: 4.375 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1542, allocations: 4.375 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1544, allocations: 75.45 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.1544, allocations: 0 / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1544, allocations: 4 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1544, allocations: 0 / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1545, allocations: 27.97 kB / 0.56 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.1551, allocations: 288.9 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1552, allocations: 54.48 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.1553, allocations: 28.88 kB / 0.5604 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1553, allocations: 7.969 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1553, allocations: 30.56 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1553, allocations: 0 / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007406/0.1561, allocations: 189.3 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.1561, allocations: 77.11 kB / 0.5606 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1563, allocations: 149.5 kB / 0.5608 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1563, allocations: 25.7 kB / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.1564, allocations: 96.12 kB / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1564, allocations: 23.8 kB / 0.5609 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1565, allocations: 25.7 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1567, allocations: 322.8 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/0.1568, allocations: 27.97 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.157, allocations: 49.62 kB / 0.5613 GB, free: 96 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1571, allocations: 76.8 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1571, allocations: 0 / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003272/0.1575, allocations: 109.6 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1575, allocations: 6.031 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1575, allocations: 0 / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1575, allocations: 0 / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1576, allocations: 23.92 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1576, allocations: 0 / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.1577, allocations: 4 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1577, allocations: 7.922 kB / 0.5616 GB, free: 15.86 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 (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 prepare postOptimizeDAE: time 0.0001046/0.1578, allocations: 120 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1578, allocations: 11.95 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.1582, allocations: 114.3 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1582, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1582, allocations: 4 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1582, allocations: 0 / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.1589, allocations: 398.7 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1589, allocations: 4 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.1589, allocations: 19.92 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1589, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.159, allocations: 3.938 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.159, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.159, allocations: 4.016 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.1593, allocations: 207.5 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1594, allocations: 89.05 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1594, allocations: 3.938 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.1595, allocations: 4 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1595, allocations: 7.969 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1595, allocations: 4 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1597, allocations: 111.3 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.16, allocations: 47.86 kB / 0.5627 GB, free: 14.62 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 (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.001914/0.1619, allocations: 0.4996 MB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.1622, allocations: 67.94 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1622, allocations: 0 / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.733e-05/0.1623, allocations: 39.91 kB / 0.5632 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.0003614/0.1627, allocations: 12.31 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.1634, allocations: 223.6 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.1639, allocations: 0.7002 MB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.164, allocations: 15.44 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.164, allocations: 4 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of Templates: time 0.004901/0.1689, allocations: 2.113 MB / 0.5662 GB, free: 11.08 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 7.984588192019146]