Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007624, allocations: 105.9 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3212/0.3212, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.0002649, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3152, allocations: 62.95 MB / 0.5165 GB, free: 36.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.4208, allocations: 89.49 MB / 0.6039 GB, free: 15.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.421, allocations: 67.97 kB / 0.6039 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.434, allocations: 5.142 MB / 0.6089 GB, free: 10.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.434, allocations: 4 kB / 0.6089 GB, free: 10.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4341, allocations: 11.94 kB / 0.609 GB, free: 10.66 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004496/0.4345, allocations: 423.3 kB / 0.6094 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.4346, allocations: 12.81 kB / 0.6094 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.4346, allocations: 12.75 kB / 0.6094 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.4349, allocations: 216.8 kB / 0.6096 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4349, allocations: 384 / 0.6096 GB, free: 9.918 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.4349, allocations: 8.375 kB / 0.6096 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.435, allocations: 58.23 kB / 0.6097 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4351, allocations: 4.125 kB / 0.6097 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4351, allocations: 3.938 kB / 0.6097 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4351, allocations: 0 / 0.6097 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.4352, allocations: 31.98 kB / 0.6097 GB, free: 9.809 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.4356, allocations: 312.7 kB / 0.61 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.4357, allocations: 50.5 kB / 0.61 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.4357, allocations: 24.94 kB / 0.6101 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.4358, allocations: 0 / 0.6101 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4358, allocations: 34.56 kB / 0.6101 GB, free: 9.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4358, allocations: 0 / 0.6101 GB, free: 9.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008288/0.4366, allocations: 258.6 kB / 0.6103 GB, free: 9.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.4367, allocations: 55.41 kB / 0.6104 GB, free: 9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.4369, allocations: 212.1 kB / 0.6106 GB, free: 8.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.4369, allocations: 29.7 kB / 0.6106 GB, free: 8.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.4369, allocations: 112 kB / 0.6107 GB, free: 8.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.437, allocations: 19.72 kB / 0.6108 GB, free: 8.617 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.437, allocations: 0 / 0.6108 GB, free: 8.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.4371, allocations: 326.8 kB / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.4372, allocations: 35.97 kB / 0.6111 GB, free: 8.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.4373, allocations: 35.98 kB / 0.6111 GB, free: 8.219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4374, allocations: 96.97 kB / 0.6112 GB, free: 8.121 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4374, allocations: 0 / 0.6112 GB, free: 8.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002069/0.4376, allocations: 117.5 kB / 0.6113 GB, free: 8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4377, allocations: 8 kB / 0.6113 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4377, allocations: 0 / 0.6113 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4377, allocations: 96 / 0.6113 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.506e-05/0.4378, allocations: 23.98 kB / 0.6114 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.4378, allocations: 0 / 0.6114 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.4379, allocations: 15.92 kB / 0.6114 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.4379, allocations: 11.92 kB / 0.6114 GB, free: 7.941 MB / 426.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 (8): * Single equations (assignments): 8 * 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 8.406e-05/0.438, allocations: 125.8 kB / 0.6115 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.438, allocations: 11.91 kB / 0.6115 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.4383, allocations: 138.9 kB / 0.6117 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4383, allocations: 8 kB / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4383, allocations: 0 / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4383, allocations: 0 / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.4388, allocations: 451.2 kB / 0.6121 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.4389, allocations: 0 / 0.6121 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.4389, allocations: 23.92 kB / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4389, allocations: 0 / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.439, allocations: 3.938 kB / 0.6121 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.439, allocations: 4 kB / 0.6121 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.439, allocations: 0 / 0.6121 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4392, allocations: 220.3 kB / 0.6123 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.4393, allocations: 100.9 kB / 0.6124 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.4393, allocations: 3.938 kB / 0.6124 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.4394, allocations: 7.984 kB / 0.6124 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.4394, allocations: 15.94 kB / 0.6125 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.4395, allocations: 4 kB / 0.6125 GB, free: 6.734 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.4396, allocations: 159.2 kB / 0.6126 GB, free: 6.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4396, allocations: 0 / 0.6126 GB, free: 6.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000257/0.4399, allocations: 32 kB / 0.6126 GB, free: 6.547 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0009145/0.4408, allocations: 461.3 kB / 0.6131 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.441, allocations: 75.95 kB / 0.6132 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.441, allocations: 0 / 0.6132 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.4411, allocations: 51.91 kB / 0.6132 GB, free: 6.125 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4414, allocations: 15.98 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.4419, allocations: 320.1 kB / 0.6135 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.4421, allocations: 0.7082 MB / 0.6142 GB, free: 5.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.4422, allocations: 19.42 kB / 0.6142 GB, free: 5.008 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4422, allocations: 0 / 0.6142 GB, free: 5.008 MB / 426.7 MB Notification: Performance of Templates: time 0.003167/0.4454, allocations: 1.868 MB / 0.6161 GB, free: 3.145 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches