Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001779/0.001779, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001884/0.001884, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.579/1.579, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2532/0.2532, allocations: 46.92 MB / 357.1 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 63.89 kB / 0.4914 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1492, allocations: 66 MB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003307/0.1525, allocations: 1.624 MB / 0.5575 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1536, allocations: 0.5456 MB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.1537, allocations: 7.875 kB / 0.558 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.154, allocations: 75.77 kB / 0.5581 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1543, allocations: 107.6 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1546, allocations: 115.6 kB / 0.5583 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1548, allocations: 87.73 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1549, allocations: 12 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.423e-05/0.155, allocations: 43.77 kB / 0.5584 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1551, allocations: 51.83 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1551, allocations: 4 kB / 0.5585 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1552, allocations: 51.97 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.1552, allocations: 23.92 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.1553, allocations: 31.73 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1555, allocations: 111.5 kB / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1555, allocations: 0 / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1555, allocations: 0 / 0.5587 GB, free: 2.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1555, allocations: 0 / 0.5587 GB, free: 2.422 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.0005868/0.1561, allocations: 414.7 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1561, allocations: 8.031 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1562, allocations: 16.84 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1564, allocations: 211.1 kB / 0.5593 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1564, allocations: 4.375 kB / 0.5593 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1565, allocations: 8.375 kB / 0.5593 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1566, allocations: 61.78 kB / 0.5594 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1566, allocations: 3.938 kB / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1566, allocations: 0 / 0.5594 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1566, allocations: 4 kB / 0.5594 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.1567, allocations: 19.98 kB / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.1572, allocations: 304.8 kB / 0.5597 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1573, allocations: 46.5 kB / 0.5597 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.278e-05/0.1574, allocations: 20.94 kB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1574, allocations: 4 kB / 0.5598 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1575, allocations: 34.56 kB / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1575, allocations: 0 / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001002/0.1585, allocations: 237.2 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.1585, allocations: 51.41 kB / 0.5601 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1588, allocations: 218.2 kB / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1588, allocations: 33.7 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.1589, allocations: 104.1 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.1589, allocations: 35.69 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.159, allocations: 21.7 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1591, allocations: 322.8 kB / 0.5608 GB, free: 68 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.1592, allocations: 27.98 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.1593, allocations: 39.91 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.1595, allocations: 76.83 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1595, allocations: 4 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002527/0.1598, allocations: 109.6 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1598, allocations: 5.875 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1598, allocations: 0 / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1598, allocations: 432 / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1599, allocations: 19.98 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1599, allocations: 0 / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.16, allocations: 11.94 kB / 0.5611 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.16, allocations: 4 kB / 0.5611 GB, free: 15.77 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.0001133/0.1601, allocations: 132 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1601, allocations: 19.91 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.1605, allocations: 131.3 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1605, allocations: 4 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1605, allocations: 0 / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.1605, allocations: 3.938 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.1611, allocations: 423.2 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1611, allocations: 0 / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.1612, allocations: 23.92 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1612, allocations: 3.938 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1612, allocations: 4 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1612, allocations: 0 / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1612, allocations: 4 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.1615, allocations: 216.3 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1616, allocations: 92.95 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1616, allocations: 4 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.1617, allocations: 4 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1617, allocations: 11.92 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1617, allocations: 8 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1619, allocations: 164.2 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1619, allocations: 3.938 kB / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1622, allocations: 27.92 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001806/0.164, allocations: 450 kB / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1643, allocations: 79.88 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1643, allocations: 0 / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1644, allocations: 35.98 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1647, allocations: 15.98 kB / 0.5628 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.1653, allocations: 274.6 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.1657, allocations: 0.7119 MB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.1658, allocations: 20.95 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1658, allocations: 15.42 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1658, allocations: 4 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of Templates: time 0.004908/0.1707, allocations: 1.405 MB / 0.5652 GB, free: 11.53 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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: 5.317487522959709]