Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002379/0.002379, allocations: 181.4 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.085/2.085, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001082/0.001082, allocations: 90.64 kB / 267.5 MB, free: 14.04 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.2816/0.2816, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.78e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.6172, allocations: 86.29 MB / 0.5571 GB, free: 1.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.6175, allocations: 74.31 kB / 0.5571 GB, free: 1.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.6346, allocations: 4.038 MB / 0.5611 GB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.6346, allocations: 0 / 0.5611 GB, free: 13.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.6347, allocations: 3.984 kB / 0.5611 GB, free: 13.79 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.0005149/0.6352, allocations: 393.4 kB / 0.5615 GB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6353, allocations: 8.031 kB / 0.5615 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.6353, allocations: 15.81 kB / 0.5615 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.6357, allocations: 206.2 kB / 0.5617 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6357, allocations: 0 / 0.5617 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.6357, allocations: 7.438 kB / 0.5617 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.6359, allocations: 41.28 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6359, allocations: 0 / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.6359, allocations: 0 / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.636, allocations: 4 kB / 0.5617 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.636, allocations: 15.62 kB / 0.5617 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.6365, allocations: 296.2 kB / 0.562 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.6368, allocations: 38.06 kB / 0.5621 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.6368, allocations: 8.859 kB / 0.5621 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.6369, allocations: 7.5 kB / 0.5621 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6369, allocations: 42.5 kB / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.6369, allocations: 0 / 0.5621 GB, free: 12.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005401/0.6375, allocations: 115.6 kB / 0.5622 GB, free: 12.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.6375, allocations: 58.59 kB / 0.5623 GB, free: 12.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.6379, allocations: 221.2 kB / 0.5625 GB, free: 12.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.638, allocations: 25.7 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.6381, allocations: 172.7 kB / 0.5627 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.6381, allocations: 23.64 kB / 0.5627 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.6381, allocations: 0 / 0.5627 GB, free: 12.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6383, allocations: 313.8 kB / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.975e-05/0.6383, allocations: 11.94 kB / 0.563 GB, free: 11.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.6384, allocations: 4 kB / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.6384, allocations: 14.75 kB / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6384, allocations: 0 / 0.563 GB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/0.6386, allocations: 52.56 kB / 0.5631 GB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6386, allocations: 15.94 kB / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6386, allocations: 0 / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6387, allocations: 0 / 0.5631 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.6388, allocations: 19.92 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6388, allocations: 3.953 kB / 0.5631 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.639, allocations: 4 kB / 0.5631 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.639, allocations: 0 / 0.5631 GB, free: 11.6 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 9.05e-05/0.6391, allocations: 113.7 kB / 0.5632 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.6392, allocations: 8.156 kB / 0.5632 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.6394, allocations: 79.98 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6394, allocations: 4 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6394, allocations: 0 / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6395, allocations: 3.953 kB / 0.5633 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.64, allocations: 362.5 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.64, allocations: 0 / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.6402, allocations: 19.98 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.6402, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.6402, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.6402, allocations: 3.953 kB / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6403, allocations: 0 / 0.5637 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.6405, allocations: 165.5 kB / 0.5639 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.6406, allocations: 100.2 kB / 0.5639 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.6406, allocations: 0 / 0.5639 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6408, allocations: 8 kB / 0.564 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.6408, allocations: 15.88 kB / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.6409, allocations: 0 / 0.564 GB, free: 10.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002701/0.6411, allocations: 177.8 kB / 0.5641 GB, free: 10.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6411, allocations: 0 / 0.5641 GB, free: 10.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000337/0.6415, allocations: 23.19 kB / 0.5642 GB, free: 10.53 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.001133/0.6426, allocations: 368.1 kB / 0.5645 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.6429, allocations: 38.06 kB / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6429, allocations: 0 / 0.5646 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.643, allocations: 11.5 kB / 0.5646 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.6433, allocations: 17.05 kB / 0.5646 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.644, allocations: 211.3 kB / 0.5648 GB, free: 9.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.6444, allocations: 0.7156 MB / 0.5655 GB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.6445, allocations: 15.44 kB / 0.5655 GB, free: 9.203 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6445, allocations: 0 / 0.5655 GB, free: 9.203 MB / 378.7 MB Notification: Performance of Templates: time 0.005207/0.6497, allocations: 1.655 MB / 0.5671 GB, free: 7.555 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches