Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 106.9 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.001292/0.001292, 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.443/1.443, allocations: 222.9 MB / 241.8 MB, free: 15.59 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.2196/0.2196, allocations: 44.18 MB / 336.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 68.98 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1531, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003353/0.1565, allocations: 1.605 MB / 470.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008486/0.1574, allocations: 415.3 kB / 470.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.1574, allocations: 4 kB / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1576, allocations: 19.92 kB / 470.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1578, allocations: 31.84 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.1581, allocations: 94.83 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1583, allocations: 51.84 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1584, allocations: 15.98 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.471e-05/0.1585, allocations: 27.86 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.1585, allocations: 15.86 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1585, allocations: 0 / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.1586, allocations: 35.98 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1587, allocations: 7.938 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1587, allocations: 23.84 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1589, allocations: 71.8 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1589, allocations: 0 / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1589, allocations: 0 / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1589, allocations: 0 / 470.9 MB, free: 12.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004966/0.1594, allocations: 378.1 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1595, allocations: 8.031 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1595, allocations: 8.844 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1597, allocations: 192.1 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1598, allocations: 4.375 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.1598, allocations: 8.375 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1599, allocations: 49.81 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.16, allocations: 3.906 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.16, allocations: 3.984 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.16, allocations: 4 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.1601, allocations: 19.98 kB / 471.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1605, allocations: 280.8 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1608, allocations: 42.56 kB / 471.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.1608, allocations: 20.94 kB / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1609, allocations: 0 / 471.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1609, allocations: 34.56 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1609, allocations: 0 / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005645/0.1615, allocations: 149.3 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1615, allocations: 59.41 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1617, allocations: 144.3 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1617, allocations: 25.7 kB / 472.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.1618, allocations: 96.12 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1618, allocations: 11.81 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.1619, allocations: 13.72 kB / 472.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.162, allocations: 326.8 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.1621, allocations: 23.92 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.1622, allocations: 23.98 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1623, allocations: 56.81 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1623, allocations: 0 / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001889/0.1625, allocations: 81.58 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1625, allocations: 7.938 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1626, allocations: 0 / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1626, allocations: 3.938 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1627, allocations: 20.27 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1627, allocations: 3.938 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.1627, allocations: 4.25 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1627, allocations: 0 / 473 MB, free: 10.16 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 (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.0001109/0.1628, allocations: 126.2 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1629, allocations: 11.91 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1631, allocations: 105.9 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1632, allocations: 0 / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1632, allocations: 3.984 kB / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1632, allocations: 0 / 473.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.1636, allocations: 350.5 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1636, allocations: 0 / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.1637, allocations: 11.98 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1637, allocations: 4 kB / 473.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1637, allocations: 4 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1637, allocations: 3.938 kB / 473.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1637, allocations: 0 / 473.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.164, allocations: 187.4 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.164, allocations: 81.02 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.164, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.1641, allocations: 15.92 kB / 473.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1642, allocations: 4 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1642, allocations: 0 / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.034e-05/0.1643, allocations: 115.2 kB / 474 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1643, allocations: 0 / 474 MB, free: 9.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1645, allocations: 12 kB / 474 MB, free: 9.035 MB / 350.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.001025/0.1656, allocations: 396.2 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1658, allocations: 55.97 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1658, allocations: 0 / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.1659, allocations: 31.91 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1663, allocations: 14.19 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.1667, allocations: 191.3 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.167, allocations: 0.6926 MB / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.656e-05/0.1671, allocations: 11.98 kB / 475.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.1671, allocations: 15.44 kB / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1671, allocations: 0 / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of Templates: time 0.003613/0.1708, allocations: 1.059 MB / 476.5 MB, free: 6.688 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches