Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002153/0.002153, 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 2.076/2.076, 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.001064/0.001063, allocations: 94.62 kB / 267.5 MB, free: 14.12 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.2802/0.2802, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.502e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6026, allocations: 86.29 MB / 0.5571 GB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003666/0.603, allocations: 76.39 kB / 0.5571 GB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02693/0.63, allocations: 4.039 MB / 0.5611 GB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6301, allocations: 0 / 0.5611 GB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.6301, allocations: 0 / 0.5611 GB, free: 13.8 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.00065/0.6308, allocations: 393.4 kB / 0.5615 GB, free: 13.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.6309, allocations: 8.031 kB / 0.5615 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.631, allocations: 15.81 kB / 0.5615 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.6314, allocations: 206.3 kB / 0.5617 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6315, allocations: 7.812 kB / 0.5617 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.6315, allocations: 0 / 0.5617 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.6317, allocations: 41.78 kB / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6318, allocations: 0 / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.6318, allocations: 4 kB / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.6318, allocations: 4 kB / 0.5617 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.919e-05/0.6319, allocations: 11.81 kB / 0.5617 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.6327, allocations: 303.6 kB / 0.562 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.633, allocations: 34.45 kB / 0.5621 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.6331, allocations: 12.94 kB / 0.5621 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.6331, allocations: 4 kB / 0.5621 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.6332, allocations: 38.38 kB / 0.5621 GB, free: 12.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.957e-06/0.6332, allocations: 4 kB / 0.5621 GB, free: 12.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007491/0.634, allocations: 112.6 kB / 0.5622 GB, free: 12.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.6341, allocations: 55.41 kB / 0.5623 GB, free: 12.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/0.6347, allocations: 223.5 kB / 0.5625 GB, free: 12.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.6347, allocations: 29.7 kB / 0.5625 GB, free: 12.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6348, allocations: 166.1 kB / 0.5627 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.6349, allocations: 23.53 kB / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.6349, allocations: 0 / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6351, allocations: 314.8 kB / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.6352, allocations: 7.938 kB / 0.563 GB, free: 11.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.6353, allocations: 11.94 kB / 0.563 GB, free: 11.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.204e-05/0.6354, allocations: 11.88 kB / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6354, allocations: 0 / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002387/0.6356, allocations: 57.38 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.6357, allocations: 8 kB / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6357, allocations: 0 / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.6358, allocations: 4 kB / 0.5631 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.636, allocations: 12.23 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.6361, allocations: 7.953 kB / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.6362, allocations: 8 kB / 0.5631 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6363, allocations: 0 / 0.5631 GB, free: 11.62 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.0001191/0.6364, allocations: 109 kB / 0.5632 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.6365, allocations: 7.906 kB / 0.5632 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.6369, allocations: 82.17 kB / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6369, allocations: 0 / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6369, allocations: 0 / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.637, allocations: 8.094 kB / 0.5633 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.6378, allocations: 365.4 kB / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6378, allocations: 0 / 0.5637 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.6381, allocations: 19.98 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.6381, allocations: 3.938 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6381, allocations: 0 / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.6381, allocations: 3.953 kB / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6382, allocations: 0 / 0.5637 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.6385, allocations: 158.8 kB / 0.5638 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.6387, allocations: 100.8 kB / 0.5639 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.6387, allocations: 4 kB / 0.5639 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6389, allocations: 8 kB / 0.564 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.639, allocations: 15.88 kB / 0.564 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.6391, allocations: 0 / 0.564 GB, free: 10.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.6395, allocations: 177.4 kB / 0.5641 GB, free: 10.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.6395, allocations: 0 / 0.5641 GB, free: 10.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006022/0.6401, allocations: 27.73 kB / 0.5642 GB, free: 10.54 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.001648/0.6418, allocations: 361.8 kB / 0.5645 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.6421, allocations: 35.23 kB / 0.5645 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6421, allocations: 0 / 0.5645 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.6422, allocations: 19.75 kB / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.6427, allocations: 17.66 kB / 0.5646 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.6436, allocations: 213.2 kB / 0.5648 GB, free: 9.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.6441, allocations: 0.7183 MB / 0.5655 GB, free: 9.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.6442, allocations: 19.44 kB / 0.5655 GB, free: 9.219 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6443, allocations: 0 / 0.5655 GB, free: 9.219 MB / 378.7 MB Notification: Performance of Templates: time 0.007847/0.6521, allocations: 1.649 MB / 0.5671 GB, free: 7.574 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches