Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001216/0.001216, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2111/0.2111, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.31 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1382, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003717/0.142, allocations: 1.568 MB / 471.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1437, allocations: 1.031 MB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.1438, allocations: 8 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.144, allocations: 15.86 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1443, allocations: 47.77 kB / 472.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1447, allocations: 91.75 kB / 472.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1448, allocations: 59.84 kB / 472.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.145, allocations: 20.17 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.145, allocations: 27.86 kB / 472.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.1455, allocations: 35.83 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1456, allocations: 4 kB / 472.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1457, allocations: 47.98 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.1458, allocations: 8 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.1459, allocations: 35.72 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1461, allocations: 88.06 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.1461, allocations: 3.984 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1461, allocations: 0 / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1461, allocations: 0 / 473 MB, free: 11.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005283/0.1467, allocations: 391.2 kB / 473.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1467, allocations: 8.031 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.1468, allocations: 8.844 kB / 473.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.147, allocations: 188.2 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.147, allocations: 4.375 kB / 473.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.147, allocations: 8.359 kB / 473.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1472, allocations: 83.27 kB / 473.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1473, allocations: 3.906 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1473, allocations: 3.938 kB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1473, allocations: 0 / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1474, allocations: 35.97 kB / 473.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1478, allocations: 284.8 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1479, allocations: 58.48 kB / 474.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.148, allocations: 24.97 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.148, allocations: 4 kB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1481, allocations: 34.56 kB / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1481, allocations: 0 / 474.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006574/0.1488, allocations: 173.3 kB / 474.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1488, allocations: 85.11 kB / 474.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.149, allocations: 145.7 kB / 474.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.149, allocations: 25.7 kB / 474.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.1491, allocations: 92.14 kB / 474.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1491, allocations: 31.55 kB / 474.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.1492, allocations: 21.72 kB / 474.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1493, allocations: 318.8 kB / 475 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.1494, allocations: 27.98 kB / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1495, allocations: 41.64 kB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1497, allocations: 56.83 kB / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1497, allocations: 0 / 475.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.1499, allocations: 101.5 kB / 475.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1499, allocations: 8.031 kB / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1499, allocations: 0 / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.15, allocations: 0 / 475.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1501, allocations: 28.23 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.1501, allocations: 0 / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.1502, allocations: 7.938 kB / 475.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1502, allocations: 8 kB / 475.3 MB, free: 8.754 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.726e-05/0.1503, allocations: 121.8 kB / 475.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1503, allocations: 11.91 kB / 475.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.1506, allocations: 106.3 kB / 475.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1506, allocations: 7.984 kB / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1506, allocations: 0 / 475.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1506, allocations: 3.938 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.1511, allocations: 382.5 kB / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1512, allocations: 0 / 475.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.729e-05/0.1512, allocations: 15.98 kB / 475.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1512, allocations: 3.938 kB / 475.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1513, allocations: 8 kB / 475.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1513, allocations: 3.938 kB / 475.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1513, allocations: 0 / 475.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.1515, allocations: 203.3 kB / 476.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.1516, allocations: 81.02 kB / 476.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1516, allocations: 3.938 kB / 476.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.1517, allocations: 11.98 kB / 476.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.1517, allocations: 4 kB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1518, allocations: 4 kB / 476.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.1519, allocations: 111.2 kB / 476.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1519, allocations: 0 / 476.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1521, allocations: 24 kB / 476.4 MB, free: 7.562 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 (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.1532, allocations: 446.8 kB / 476.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1535, allocations: 67.88 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1535, allocations: 4 kB / 476.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.1536, allocations: 39.92 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.154, allocations: 16.3 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.1545, allocations: 219.5 kB / 477.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1548, allocations: 0.6924 MB / 477.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.1549, allocations: 15.44 kB / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1549, allocations: 0 / 477.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of Templates: time 0.003761/0.1586, allocations: 1.723 MB / 479.6 MB, free: 4.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches