Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001476, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001092, allocations: 98.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2756/0.2756, allocations: 43.49 MB / 359.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.33e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.5987, allocations: 86.55 MB / 0.5573 GB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/0.5992, allocations: 72.12 kB / 0.5574 GB, free: 1.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02728/0.6265, allocations: 4.124 MB / 0.5614 GB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.6265, allocations: 0 / 0.5614 GB, free: 13.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.6266, allocations: 0 / 0.5614 GB, free: 13.81 MB / 378.7 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.0006049/0.6272, allocations: 362.3 kB / 0.5618 GB, free: 13.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.6273, allocations: 12.03 kB / 0.5618 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.6274, allocations: 3.906 kB / 0.5618 GB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.6277, allocations: 194.7 kB / 0.562 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6278, allocations: 7.938 kB / 0.562 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.6278, allocations: 0 / 0.562 GB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.6281, allocations: 59.34 kB / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.6281, allocations: 0 / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.6281, allocations: 3.938 kB / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6281, allocations: 0 / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.6282, allocations: 8 kB / 0.562 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.6288, allocations: 291.4 kB / 0.5623 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.6291, allocations: 30.14 kB / 0.5623 GB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.6293, allocations: 16.73 kB / 0.5624 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.6293, allocations: 4 kB / 0.5624 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.6294, allocations: 34.64 kB / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.965e-06/0.6294, allocations: 0 / 0.5624 GB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006974/0.6301, allocations: 105 kB / 0.5625 GB, free: 12.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.6302, allocations: 81.06 kB / 0.5626 GB, free: 12.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.6305, allocations: 126 kB / 0.5627 GB, free: 12.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.6305, allocations: 29.7 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.6306, allocations: 158.4 kB / 0.5629 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.6307, allocations: 15.62 kB / 0.5629 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.6307, allocations: 0 / 0.5629 GB, free: 12.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6309, allocations: 326.8 kB / 0.5632 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.631, allocations: 7.625 kB / 0.5632 GB, free: 11.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.6311, allocations: 21.59 kB / 0.5632 GB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.6312, allocations: 11.94 kB / 0.5632 GB, free: 11.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6312, allocations: 0 / 0.5632 GB, free: 11.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002163/0.6314, allocations: 53.38 kB / 0.5633 GB, free: 11.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.6315, allocations: 8 kB / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6315, allocations: 0 / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.6316, allocations: 4.172 kB / 0.5633 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.6318, allocations: 15.98 kB / 0.5633 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.6318, allocations: 3.938 kB / 0.5633 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.6319, allocations: 11.83 kB / 0.5633 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.632, allocations: 11.92 kB / 0.5633 GB, free: 11.71 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.6321, allocations: 102.5 kB / 0.5634 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.6322, allocations: 11.89 kB / 0.5634 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.6325, allocations: 72.34 kB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6325, allocations: 0 / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6326, allocations: 0 / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6326, allocations: 0 / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.6333, allocations: 340.1 kB / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6333, allocations: 0 / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.6335, allocations: 11.98 kB / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.6335, allocations: 4 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.6336, allocations: 4 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.6336, allocations: 0 / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.6336, allocations: 3.953 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.6339, allocations: 154.3 kB / 0.564 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.634, allocations: 89 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.634, allocations: 3.562 kB / 0.5641 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.6343, allocations: 8 kB / 0.5641 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.6343, allocations: 7.984 kB / 0.5641 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.6344, allocations: 7.953 kB / 0.5641 GB, free: 10.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.6346, allocations: 107.1 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.6346, allocations: 3.938 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005626/0.6352, allocations: 23.75 kB / 0.5642 GB, free: 10.73 MB / 378.7 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 () * 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 (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.001814/0.637, allocations: 409 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.6372, allocations: 29.62 kB / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6373, allocations: 0 / 0.5647 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.6373, allocations: 15.69 kB / 0.5647 GB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.6378, allocations: 18.23 kB / 0.5647 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.6383, allocations: 124.4 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.6387, allocations: 0.7 MB / 0.5655 GB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.6389, allocations: 19.36 kB / 0.5655 GB, free: 9.453 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6389, allocations: 0 / 0.5655 GB, free: 9.453 MB / 378.7 MB Notification: Performance of Templates: time 0.00691/0.6458, allocations: 1.563 MB / 0.567 GB, free: 7.895 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches