Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009892/0.0009893, allocations: 97.41 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 175.1 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 222.7 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4923/0.4923, allocations: 43.57 MB / 314.6 MB, free: 8.746 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007105/0.0007106, allocations: 16 kB / 383.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1504, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002186/0.1527, allocations: 1.31 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.1533, allocations: 323.8 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.1534, allocations: 0 / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.1537, allocations: 43.89 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1538, allocations: 39.89 kB / 444.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1542, allocations: 143.7 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1544, allocations: 59.78 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1545, allocations: 23.97 kB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.1546, allocations: 23.84 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1547, allocations: 35.84 kB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1547, allocations: 0 / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.1548, allocations: 24 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1549, allocations: 23.91 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.1549, allocations: 29.7 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1551, allocations: 68.11 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1551, allocations: 4 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1551, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1551, allocations: 0 / 445 MB, free: 10.86 MB / 382.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.0005806/0.1557, allocations: 391 kB / 445.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1558, allocations: 12.02 kB / 445.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.1558, allocations: 11.86 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1561, allocations: 186.9 kB / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1561, allocations: 7.984 kB / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1561, allocations: 4 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1563, allocations: 61.67 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1563, allocations: 7.875 kB / 445.6 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1563, allocations: 8 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1564, allocations: 3.953 kB / 445.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1566, allocations: 51.91 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.1571, allocations: 304.8 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1573, allocations: 58.53 kB / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.1573, allocations: 28.94 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1574, allocations: 3.953 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.1574, allocations: 34.5 kB / 446.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1574, allocations: 0 / 446.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008099/0.1582, allocations: 269.2 kB / 446.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1583, allocations: 51.41 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.1585, allocations: 166.4 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1585, allocations: 29.7 kB / 446.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1586, allocations: 104 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.1587, allocations: 19.66 kB / 446.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.1587, allocations: 4 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1588, allocations: 322.8 kB / 447 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1589, allocations: 39.97 kB / 447.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.159, allocations: 51.95 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.1592, allocations: 47.97 kB / 447.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1592, allocations: 4 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000269/0.1595, allocations: 137.5 kB / 447.3 MB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1595, allocations: 4 kB / 447.3 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1595, allocations: 4 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1595, allocations: 4 kB / 447.3 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1596, allocations: 27.91 kB / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1597, allocations: 0 / 447.4 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.1597, allocations: 12 kB / 447.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1597, allocations: 3.984 kB / 447.4 MB, free: 8.215 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.1598, allocations: 125.8 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1599, allocations: 11.86 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.1602, allocations: 162.6 kB / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1602, allocations: 0 / 447.7 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1602, allocations: 4 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1603, allocations: 0 / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.1608, allocations: 426.5 kB / 448.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1608, allocations: 0 / 448.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.1609, allocations: 23.98 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1609, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1609, allocations: 0 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1609, allocations: 7.984 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1609, allocations: 11.88 kB / 448.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1612, allocations: 235.3 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.1613, allocations: 92.91 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1613, allocations: 0 / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.1614, allocations: 19.98 kB / 448.5 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1614, allocations: 3.984 kB / 448.5 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1615, allocations: 4 kB / 448.5 MB, free: 7.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1616, allocations: 128.6 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1616, allocations: 4 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1618, allocations: 16 kB / 448.6 MB, free: 6.863 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/0.1628, allocations: 397.5 kB / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1631, allocations: 111.8 kB / 449.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1631, allocations: 3.938 kB / 449.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1632, allocations: 59.95 kB / 449.2 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1636, allocations: 15.98 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1641, allocations: 249.1 kB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1644, allocations: 0.7083 MB / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.1645, allocations: 15.98 kB / 450.2 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.1645, allocations: 15.42 kB / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1646, allocations: 0 / 450.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of Templates: time 0.003524/0.1681, allocations: 1.162 MB / 451.3 MB, free: 4.117 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches