Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.531/1.531, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.000792/0.000792, allocations: 92.92 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3672/0.3672, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 20 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.5184, allocations: 86.43 MB / 0.5643 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5187, allocations: 79.95 kB / 0.5644 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.529, allocations: 3.968 MB / 0.5683 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.274e-05/0.529, allocations: 0 / 0.5683 GB, free: 11.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.529, allocations: 7.938 kB / 0.5683 GB, free: 11.98 MB / 394.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.0004782/0.5295, allocations: 406.6 kB / 0.5687 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5296, allocations: 8.031 kB / 0.5687 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.5296, allocations: 8.844 kB / 0.5687 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.5299, allocations: 220.7 kB / 0.5689 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.5299, allocations: 4.375 kB / 0.5689 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.5299, allocations: 0.9375 kB / 0.5689 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.5301, allocations: 46.25 kB / 0.569 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5301, allocations: 192 / 0.569 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.5302, allocations: 11.88 kB / 0.569 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5302, allocations: 0 / 0.569 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.5303, allocations: 27.98 kB / 0.569 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.5307, allocations: 288.3 kB / 0.5693 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.5309, allocations: 46.48 kB / 0.5693 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.531, allocations: 28.88 kB / 0.5693 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.531, allocations: 4 kB / 0.5693 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.531, allocations: 30.56 kB / 0.5694 GB, free: 10.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5311, allocations: 0 / 0.5694 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005883/0.5316, allocations: 165.3 kB / 0.5695 GB, free: 10.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5317, allocations: 51.41 kB / 0.5696 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.5319, allocations: 223 kB / 0.5698 GB, free: 10.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.532, allocations: 25.7 kB / 0.5698 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.532, allocations: 108.1 kB / 0.5699 GB, free: 10.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.5321, allocations: 15.81 kB / 0.5699 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.5321, allocations: 4 kB / 0.5699 GB, free: 10.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5322, allocations: 326.8 kB / 0.5702 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.5323, allocations: 23.98 kB / 0.5703 GB, free: 9.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.5324, allocations: 19.98 kB / 0.5703 GB, free: 9.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.5325, allocations: 56.83 kB / 0.5703 GB, free: 9.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5325, allocations: 0 / 0.5703 GB, free: 9.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.5327, allocations: 89.52 kB / 0.5704 GB, free: 9.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5327, allocations: 4 kB / 0.5704 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5327, allocations: 4 kB / 0.5704 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5328, allocations: 0 / 0.5704 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.5328, allocations: 19.98 kB / 0.5705 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5328, allocations: 0.875 kB / 0.5705 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.5329, allocations: 4 kB / 0.5705 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5329, allocations: 4 kB / 0.5705 GB, free: 9.535 MB / 394.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 () * Number of clocked 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.0001089/0.533, allocations: 137.8 kB / 0.5706 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.5331, allocations: 15.81 kB / 0.5706 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.5333, allocations: 110.5 kB / 0.5707 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.5333, allocations: 320 / 0.5707 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5333, allocations: 0 / 0.5707 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5333, allocations: 0 / 0.5707 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.5338, allocations: 390.5 kB / 0.5711 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5338, allocations: 0 / 0.5711 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.5339, allocations: 15.94 kB / 0.5711 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5339, allocations: 0 / 0.5711 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5339, allocations: 0.75 kB / 0.5711 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5339, allocations: 7.984 kB / 0.5711 GB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5339, allocations: 4 kB / 0.5711 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.5342, allocations: 183.4 kB / 0.5713 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.5343, allocations: 96.91 kB / 0.5714 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5343, allocations: 8 kB / 0.5714 GB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.5343, allocations: 4 kB / 0.5714 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.5344, allocations: 11.92 kB / 0.5714 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.5344, allocations: 3.938 kB / 0.5714 GB, free: 8.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.5346, allocations: 163.7 kB / 0.5716 GB, free: 8.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5346, allocations: 0 / 0.5716 GB, free: 8.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.5348, allocations: 27.98 kB / 0.5716 GB, free: 8.273 MB / 394.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 () * Number of clocked 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.0009128/0.5357, allocations: 404.7 kB / 0.572 GB, free: 7.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5359, allocations: 55.95 kB / 0.572 GB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5359, allocations: 0 / 0.572 GB, free: 7.918 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.148e-05/0.536, allocations: 27.98 kB / 0.5721 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.5363, allocations: 14.25 kB / 0.5721 GB, free: 7.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.5368, allocations: 292.2 kB / 0.5724 GB, free: 7.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5371, allocations: 0.716 MB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.5372, allocations: 11.44 kB / 0.5731 GB, free: 6.809 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5372, allocations: 0 / 0.5731 GB, free: 6.809 MB / 394.7 MB Notification: Performance of Templates: time 0.003233/0.5404, allocations: 1.572 MB / 0.5746 GB, free: 5.242 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches