Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,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.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 194.5 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.5 MB / 244.1 MB, free: 8.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007604/0.0007604, allocations: 96.47 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.316/0.316, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002734, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3298, allocations: 62.96 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.4364, allocations: 89.69 MB / 0.6041 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4366, allocations: 71.97 kB / 0.6041 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0138/0.4504, allocations: 5.48 MB / 0.6095 GB, free: 10.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4505, allocations: 4 kB / 0.6095 GB, free: 10.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4505, allocations: 4 kB / 0.6095 GB, free: 10.14 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.0004114/0.4509, allocations: 395.5 kB / 0.6099 GB, free: 9.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.451, allocations: 12.03 kB / 0.6099 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.451, allocations: 4.938 kB / 0.6099 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.4513, allocations: 208 kB / 0.6101 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4513, allocations: 8.312 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4513, allocations: 4.375 kB / 0.6101 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4515, allocations: 63.97 kB / 0.6101 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4515, allocations: 192 / 0.6102 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4515, allocations: 7.938 kB / 0.6102 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4516, allocations: 0 / 0.6102 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.4517, allocations: 31.97 kB / 0.6102 GB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.4521, allocations: 284.9 kB / 0.6105 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.4523, allocations: 46.5 kB / 0.6105 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.4523, allocations: 20.94 kB / 0.6105 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.4523, allocations: 4 kB / 0.6105 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.4524, allocations: 34.56 kB / 0.6106 GB, free: 8.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4524, allocations: 0 / 0.6106 GB, free: 8.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005393/0.4529, allocations: 161.3 kB / 0.6107 GB, free: 8.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.453, allocations: 85.09 kB / 0.6108 GB, free: 8.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.4531, allocations: 137.8 kB / 0.6109 GB, free: 8.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4532, allocations: 37.64 kB / 0.611 GB, free: 8.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.4532, allocations: 88.05 kB / 0.611 GB, free: 8.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.4532, allocations: 23.73 kB / 0.6111 GB, free: 8.305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4532, allocations: 0 / 0.6111 GB, free: 8.305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.4533, allocations: 328 kB / 0.6114 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.013e-05/0.4534, allocations: 23.97 kB / 0.6114 GB, free: 7.953 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.4535, allocations: 37.7 kB / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.4537, allocations: 65.05 kB / 0.6115 GB, free: 7.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4537, allocations: 0 / 0.6115 GB, free: 7.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001875/0.4539, allocations: 97.56 kB / 0.6116 GB, free: 7.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4539, allocations: 4 kB / 0.6116 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.4539, allocations: 4 kB / 0.6116 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4539, allocations: 4.219 kB / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.454, allocations: 12 kB / 0.6116 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.454, allocations: 7.969 kB / 0.6116 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.454, allocations: 7.938 kB / 0.6116 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4541, allocations: 4 kB / 0.6116 GB, free: 7.699 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 7.558e-05/0.4541, allocations: 117.8 kB / 0.6118 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.4542, allocations: 15.89 kB / 0.6118 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.4544, allocations: 102 kB / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4544, allocations: 0 / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4544, allocations: 0 / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4544, allocations: 3.938 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.4549, allocations: 378.5 kB / 0.6122 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4549, allocations: 0 / 0.6122 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.4549, allocations: 15.98 kB / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4549, allocations: 3.938 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.455, allocations: 0 / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.455, allocations: 4 kB / 0.6123 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.455, allocations: 3.938 kB / 0.6123 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.4552, allocations: 199.5 kB / 0.6124 GB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.4553, allocations: 81.02 kB / 0.6125 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4553, allocations: 11.98 kB / 0.6125 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.4554, allocations: 8 kB / 0.6125 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.4554, allocations: 3.938 kB / 0.6125 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.4554, allocations: 4 kB / 0.6125 GB, free: 6.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.322e-05/0.4555, allocations: 114.8 kB / 0.6127 GB, free: 6.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4555, allocations: 0 / 0.6127 GB, free: 6.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.4558, allocations: 55.86 kB / 0.6127 GB, free: 6.496 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.0009914/0.4568, allocations: 487.3 kB / 0.6132 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.457, allocations: 67.89 kB / 0.6132 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.457, allocations: 0 / 0.6132 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.4571, allocations: 27.98 kB / 0.6133 GB, free: 6.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.4575, allocations: 25.5 kB / 0.6133 GB, free: 6.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.4579, allocations: 213.9 kB / 0.6135 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.4583, allocations: 0.6934 MB / 0.6142 GB, free: 5.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.4583, allocations: 19.42 kB / 0.6142 GB, free: 5.09 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4583, allocations: 7.938 kB / 0.6142 GB, free: 5.082 MB / 426.7 MB Notification: Performance of Templates: time 0.003608/0.4619, allocations: 1.947 MB / 0.6161 GB, free: 3.137 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches