Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.8 MB, free: 15.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.84 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1524, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.00369/0.1561, allocations: 1.632 MB / 470.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.1571, allocations: 419.3 kB / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.1571, allocations: 0 / 470.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.1575, allocations: 71.84 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1577, allocations: 55.86 kB / 470.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.1581, allocations: 95.83 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1583, allocations: 71.77 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1584, allocations: 24.16 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1585, allocations: 23.92 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1586, allocations: 55.81 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1587, allocations: 0 / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1588, allocations: 43.92 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.1589, allocations: 23.92 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.1589, allocations: 27.75 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1591, allocations: 95.97 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1591, allocations: 0 / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1591, allocations: 3.938 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1591, allocations: 8 kB / 471.2 MB, free: 12.2 MB / 350.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.0005846/0.1597, allocations: 399.1 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1598, allocations: 12.03 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.1598, allocations: 8.844 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1601, allocations: 204 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1601, allocations: 384 / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1601, allocations: 4.375 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1603, allocations: 61.59 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1603, allocations: 7.906 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1603, allocations: 0 / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1604, allocations: 0 / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.1605, allocations: 27.98 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.1609, allocations: 300.8 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1611, allocations: 46.56 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.1611, allocations: 16.94 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1612, allocations: 0 / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.1612, allocations: 38.56 kB / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1612, allocations: 0 / 472.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009217/0.1621, allocations: 237 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1622, allocations: 59.34 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1624, allocations: 214.1 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1624, allocations: 25.7 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1625, allocations: 108 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1626, allocations: 19.66 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.1626, allocations: 29.7 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1628, allocations: 322.8 kB / 473.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.1628, allocations: 23.98 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.1629, allocations: 35.97 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.1631, allocations: 68.83 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1632, allocations: 0 / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002142/0.1634, allocations: 121.5 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1634, allocations: 7.938 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1634, allocations: 0 / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1634, allocations: 0 / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1635, allocations: 19.98 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1636, allocations: 8.25 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1636, allocations: 7.984 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1636, allocations: 0 / 473.5 MB, free: 9.594 MB / 350.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.0001049/0.1637, allocations: 134.4 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.1638, allocations: 7.906 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.164, allocations: 130.3 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1641, allocations: 3.938 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1641, allocations: 3.938 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1641, allocations: 0 / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1646, allocations: 423.2 kB / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1646, allocations: 0 / 474.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/0.1647, allocations: 19.92 kB / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1647, allocations: 4 kB / 474.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1647, allocations: 4 kB / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1647, allocations: 0 / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1647, allocations: 432 / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.165, allocations: 212.2 kB / 474.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1651, allocations: 92.94 kB / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1651, allocations: 7.938 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.1652, allocations: 0 / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.1652, allocations: 15.97 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.1652, allocations: 4 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1654, allocations: 155.2 kB / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1654, allocations: 0 / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1656, allocations: 20 kB / 474.7 MB, free: 8.27 MB / 350.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.001079/0.1667, allocations: 456.5 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.167, allocations: 71.89 kB / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.167, allocations: 0 / 475.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.7e-05/0.1671, allocations: 39.97 kB / 475.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1675, allocations: 31.86 kB / 475.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.168, allocations: 285.2 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1683, allocations: 0.7121 MB / 476.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.1683, allocations: 32.58 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1684, allocations: 11.44 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1684, allocations: 0 / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of Templates: time 0.003795/0.1722, allocations: 1.311 MB / 477.7 MB, free: 5.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches