Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 108.6 kB / 17.21 MB, free: 6.273 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.001122/0.001123, 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.462/1.462, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2298/0.2298, allocations: 44.18 MB / 336.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 69.12 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003315/0.1515, allocations: 1.645 MB / 470.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.1524, allocations: 411.2 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1525, allocations: 0 / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.1529, allocations: 95.8 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.153, allocations: 75.84 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1533, allocations: 78.59 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1535, allocations: 79.8 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1536, allocations: 12.19 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.1537, allocations: 39.84 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1538, allocations: 59.81 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1539, allocations: 11.94 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.154, allocations: 39.97 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.154, allocations: 23.92 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.1541, allocations: 35.73 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1543, allocations: 99.92 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.955e-05/0.1543, allocations: 8 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1543, allocations: 0 / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1543, allocations: 0 / 471.2 MB, free: 12.14 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.000523/0.1548, allocations: 414.9 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1549, allocations: 16.03 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1549, allocations: 8.844 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1552, allocations: 212.4 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1552, allocations: 4.375 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1552, allocations: 4.375 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1554, allocations: 57.61 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1554, allocations: 0 / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1554, allocations: 0 / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.1554, allocations: 4 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.1555, allocations: 27.92 kB / 471.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.1559, allocations: 296.7 kB / 472.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.1561, allocations: 42.56 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.1561, allocations: 20.94 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1561, allocations: 0 / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1562, allocations: 42.5 kB / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1562, allocations: 0 / 472.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009485/0.1571, allocations: 229 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1572, allocations: 55.41 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1574, allocations: 242.6 kB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1575, allocations: 25.7 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.1575, allocations: 104.1 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1576, allocations: 31.55 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1576, allocations: 21.72 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1578, allocations: 322.8 kB / 473.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.1579, allocations: 27.98 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.158, allocations: 27.97 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1581, allocations: 61.06 kB / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1581, allocations: 0 / 473.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002141/0.1584, allocations: 105.5 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1584, allocations: 8 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1584, allocations: 0 / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1584, allocations: 4 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1585, allocations: 16.41 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1586, allocations: 3.938 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.1586, allocations: 4 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1586, allocations: 7.984 kB / 473.6 MB, free: 9.512 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.0001117/0.1588, allocations: 125.8 kB / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1588, allocations: 15.81 kB / 473.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.1591, allocations: 123 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1591, allocations: 3.984 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1591, allocations: 7.938 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1591, allocations: 3.984 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.1597, allocations: 399.3 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1597, allocations: 32 / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1598, allocations: 23.92 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1598, allocations: 7.938 kB / 474.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1598, allocations: 4 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1598, allocations: 0 / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1598, allocations: 3.984 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1601, allocations: 204.1 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.1602, allocations: 96.84 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.1602, allocations: 7.938 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1603, allocations: 0 / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.1604, allocations: 11.98 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1604, allocations: 4 kB / 474.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1605, allocations: 184.3 kB / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 474.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1608, allocations: 24 kB / 474.8 MB, free: 8.18 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.001141/0.162, allocations: 453.2 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.1622, allocations: 67.91 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1622, allocations: 3.938 kB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.1623, allocations: 35.91 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1628, allocations: 26.97 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.1634, allocations: 309 kB / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1637, allocations: 0.716 MB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.13e-05/0.1638, allocations: 12.67 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1638, allocations: 15.42 kB / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1638, allocations: 0 / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003921/0.1678, allocations: 1.292 MB / 477.7 MB, free: 5.391 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches