Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 88.47 kB / 17.35 MB, free: 6.031 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.0007822/0.0007822, allocations: 174.9 kB / 18.26 MB, free: 5.387 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.419/1.419, allocations: 223.3 MB / 242.3 MB, free: 84 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.24 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002031/0.1538, allocations: 1.286 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.1545, allocations: 395.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.1546, allocations: 4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1549, allocations: 99.73 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.1551, allocations: 75.84 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1554, allocations: 75.84 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1555, allocations: 75.81 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1557, allocations: 12.19 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.1557, allocations: 43.77 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1558, allocations: 55.88 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1559, allocations: 4 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.156, allocations: 39.92 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.1561, allocations: 27.86 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.1561, allocations: 53.44 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1563, allocations: 104 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1563, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.1563, allocations: 3.938 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.1563, allocations: 0 / 474.6 MB, free: 10.99 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.0005184/0.1569, allocations: 410.9 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1569, allocations: 12.03 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.157, allocations: 12.84 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.1572, allocations: 208.5 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1572, allocations: 384 / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1573, allocations: 12.36 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1574, allocations: 53.61 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1574, allocations: 0 / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1575, allocations: 4 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1575, allocations: 3.938 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.1576, allocations: 31.98 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.158, allocations: 304.7 kB / 475.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1582, allocations: 50.48 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.1582, allocations: 16.86 kB / 475.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1583, allocations: 4 kB / 475.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1583, allocations: 34.56 kB / 475.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1583, allocations: 0 / 475.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009239/0.1592, allocations: 249.2 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1593, allocations: 51.41 kB / 476 MB, free: 9.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.1595, allocations: 246.5 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1596, allocations: 29.69 kB / 476.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.1596, allocations: 108.1 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1597, allocations: 23.72 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.1597, allocations: 17.72 kB / 476.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1598, allocations: 326.8 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.1599, allocations: 31.97 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.16, allocations: 31.97 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1602, allocations: 68.78 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1602, allocations: 3.984 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002143/0.1604, allocations: 109.5 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1604, allocations: 4 kB / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1604, allocations: 0 / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1605, allocations: 0 / 477 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.1606, allocations: 23.98 kB / 477 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1606, allocations: 3.938 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.1606, allocations: 11.94 kB / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1606, allocations: 3.984 kB / 477 MB, free: 8.305 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 9.748e-05/0.1607, allocations: 133.8 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.1608, allocations: 11.81 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1611, allocations: 131.3 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1611, allocations: 4 kB / 477.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1611, allocations: 3.938 kB / 477.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1611, allocations: 3.984 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1616, allocations: 407.3 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1616, allocations: 3.984 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.1617, allocations: 24.3 kB / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1617, allocations: 0 / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1617, allocations: 8 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1617, allocations: 8.016 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1617, allocations: 0 / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.162, allocations: 208.2 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1621, allocations: 104.8 kB / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1621, allocations: 0 / 478.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.1622, allocations: 12 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1622, allocations: 7.984 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1622, allocations: 4 kB / 478.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1624, allocations: 196.1 kB / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1624, allocations: 4 kB / 478.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1626, allocations: 16 kB / 478.3 MB, free: 6.934 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.001036/0.1637, allocations: 448.2 kB / 478.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1639, allocations: 79.94 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1639, allocations: 0 / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.979e-05/0.164, allocations: 35.92 kB / 478.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1644, allocations: 27.86 kB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.1649, allocations: 314.3 kB / 479.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1652, allocations: 0.716 MB / 479.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.1653, allocations: 12.97 kB / 479.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.1653, allocations: 11.44 kB / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.064e-06/0.1653, allocations: 0 / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of Templates: time 0.003831/0.1691, allocations: 1.28 MB / 481.2 MB, free: 4.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches