Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.5 MB / 244.1 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007532/0.0007531, allocations: 106.7 kB / 296.2 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2912/0.2912, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002377, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3153, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4326, allocations: 89.57 MB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4329, allocations: 71.97 kB / 0.604 GB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.4471, allocations: 5.464 MB / 0.6093 GB, free: 10.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4471, allocations: 0 / 0.6093 GB, free: 10.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.4472, allocations: 11.92 kB / 0.6094 GB, free: 10.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004644/0.4476, allocations: 403.5 kB / 0.6097 GB, free: 9.828 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4477, allocations: 12.03 kB / 0.6098 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.4477, allocations: 4.938 kB / 0.6098 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.448, allocations: 204 kB / 0.61 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.448, allocations: 8.375 kB / 0.61 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.448, allocations: 384 / 0.61 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4482, allocations: 63.97 kB / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4482, allocations: 192 / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4482, allocations: 3.938 kB / 0.61 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4482, allocations: 4 kB / 0.61 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4483, allocations: 27.97 kB / 0.6101 GB, free: 9.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.4487, allocations: 272.9 kB / 0.6103 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.449, allocations: 50.5 kB / 0.6104 GB, free: 9.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.449, allocations: 20.94 kB / 0.6104 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.449, allocations: 0 / 0.6104 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4491, allocations: 34.56 kB / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.4491, allocations: 0 / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005434/0.4496, allocations: 157.3 kB / 0.6106 GB, free: 8.855 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4497, allocations: 77.11 kB / 0.6106 GB, free: 8.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.4499, allocations: 148.8 kB / 0.6108 GB, free: 8.609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4499, allocations: 29.64 kB / 0.6108 GB, free: 8.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.4499, allocations: 104 kB / 0.6109 GB, free: 8.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.45, allocations: 11.75 kB / 0.6109 GB, free: 8.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.45, allocations: 0 / 0.6109 GB, free: 8.457 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4501, allocations: 328 kB / 0.6112 GB, free: 8.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.4502, allocations: 19.98 kB / 0.6113 GB, free: 8.109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.4503, allocations: 37.7 kB / 0.6113 GB, free: 8.066 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.4504, allocations: 56.83 kB / 0.6113 GB, free: 8.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4504, allocations: 0 / 0.6113 GB, free: 8.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.4506, allocations: 85.61 kB / 0.6114 GB, free: 7.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4506, allocations: 8 kB / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4506, allocations: 0 / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4507, allocations: 3.938 kB / 0.6114 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.4507, allocations: 15.98 kB / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4507, allocations: 0 / 0.6115 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.4508, allocations: 8 kB / 0.6115 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.4508, allocations: 11.92 kB / 0.6115 GB, free: 7.871 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 (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 8.461e-05/0.4509, allocations: 117.8 kB / 0.6116 GB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.4509, allocations: 7.906 kB / 0.6116 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.4512, allocations: 94.25 kB / 0.6117 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4512, allocations: 4 kB / 0.6117 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4512, allocations: 3.938 kB / 0.6117 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4512, allocations: 7.922 kB / 0.6117 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.4516, allocations: 358.5 kB / 0.612 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4516, allocations: 384 / 0.612 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.4517, allocations: 19.98 kB / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4517, allocations: 4 kB / 0.6121 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4517, allocations: 4 kB / 0.6121 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4517, allocations: 0 / 0.6121 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4517, allocations: 3.938 kB / 0.6121 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.452, allocations: 191.4 kB / 0.6123 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.4521, allocations: 89 kB / 0.6123 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.4521, allocations: 4 kB / 0.6123 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.4522, allocations: 4 kB / 0.6123 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.4522, allocations: 15.92 kB / 0.6124 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4522, allocations: 0 / 0.6124 GB, free: 6.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.042e-05/0.4523, allocations: 107.3 kB / 0.6125 GB, free: 6.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4523, allocations: 4 kB / 0.6125 GB, free: 6.746 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.4526, allocations: 55.86 kB / 0.6125 GB, free: 6.691 MB / 426.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.001125/0.4538, allocations: 0.4932 MB / 0.613 GB, free: 6.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.454, allocations: 51.91 kB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.454, allocations: 0 / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.4541, allocations: 31.98 kB / 0.6131 GB, free: 6.277 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.4544, allocations: 19.08 kB / 0.6131 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.4548, allocations: 201.9 kB / 0.6133 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.455, allocations: 0.6926 MB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.4551, allocations: 19.42 kB / 0.614 GB, free: 5.297 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4551, allocations: 3.938 kB / 0.614 GB, free: 5.293 MB / 426.7 MB Notification: Performance of Templates: time 0.003533/0.4587, allocations: 1.909 MB / 0.6159 GB, free: 3.387 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches