Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, 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.262/1.262, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007694/0.0007693, allocations: 96.03 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2959/0.2959, allocations: 44.83 MB / 393 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 8 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3073, allocations: 62.95 MB / 0.5165 GB, free: 37.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4145, allocations: 89.49 MB / 0.6039 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4148, allocations: 71.97 kB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.4281, allocations: 5.365 MB / 0.6092 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4282, allocations: 0 / 0.6092 GB, free: 10.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4282, allocations: 0 / 0.6092 GB, free: 10.46 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.0005167/0.4287, allocations: 463 kB / 0.6096 GB, free: 9.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.4287, allocations: 8.875 kB / 0.6096 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.4288, allocations: 16.75 kB / 0.6096 GB, free: 9.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.4291, allocations: 220.5 kB / 0.6098 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4291, allocations: 4.375 kB / 0.6099 GB, free: 9.672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.4291, allocations: 4.375 kB / 0.6099 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4293, allocations: 66.16 kB / 0.6099 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4293, allocations: 192 / 0.6099 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4293, allocations: 7.938 kB / 0.6099 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4293, allocations: 0 / 0.6099 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.4294, allocations: 27.98 kB / 0.61 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.4298, allocations: 320.8 kB / 0.6103 GB, free: 9.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.43, allocations: 54.48 kB / 0.6103 GB, free: 9.137 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.43, allocations: 20.94 kB / 0.6103 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4301, allocations: 4 kB / 0.6103 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.4301, allocations: 30.56 kB / 0.6104 GB, free: 9.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4301, allocations: 0 / 0.6104 GB, free: 9.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008514/0.4309, allocations: 278 kB / 0.6106 GB, free: 8.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.431, allocations: 51.41 kB / 0.6107 GB, free: 8.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.4312, allocations: 267.8 kB / 0.6109 GB, free: 8.457 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4313, allocations: 29.7 kB / 0.611 GB, free: 8.422 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.4313, allocations: 116 kB / 0.6111 GB, free: 8.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4314, allocations: 35.7 kB / 0.6111 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.4314, allocations: 0 / 0.6111 GB, free: 8.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.4315, allocations: 334.8 kB / 0.6114 GB, free: 7.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.339e-05/0.4316, allocations: 23.98 kB / 0.6114 GB, free: 7.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.217e-05/0.4316, allocations: 47.84 kB / 0.6115 GB, free: 7.863 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.4318, allocations: 80.83 kB / 0.6116 GB, free: 7.781 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4318, allocations: 0 / 0.6116 GB, free: 7.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002219/0.432, allocations: 117.5 kB / 0.6117 GB, free: 7.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4321, allocations: 11.98 kB / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4321, allocations: 0 / 0.6117 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4321, allocations: 3.938 kB / 0.6117 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.4322, allocations: 23.94 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4322, allocations: 3.984 kB / 0.6117 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.4323, allocations: 8 kB / 0.6117 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4323, allocations: 320 / 0.6117 GB, free: 7.609 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 9.3e-05/0.4324, allocations: 141.8 kB / 0.6119 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4324, allocations: 15.81 kB / 0.6119 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.4327, allocations: 147 kB / 0.612 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4327, allocations: 0 / 0.612 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4327, allocations: 0 / 0.612 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4327, allocations: 4 kB / 0.612 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.4333, allocations: 463.2 kB / 0.6125 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4333, allocations: 0 / 0.6125 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.4333, allocations: 23.92 kB / 0.6125 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4334, allocations: 4.031 kB / 0.6125 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.4334, allocations: 7.938 kB / 0.6125 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4334, allocations: 0 / 0.6125 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4334, allocations: 0 / 0.6125 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4336, allocations: 232.2 kB / 0.6127 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.4337, allocations: 96.92 kB / 0.6128 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.4337, allocations: 11.92 kB / 0.6128 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.4338, allocations: 4 kB / 0.6128 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.4339, allocations: 11.92 kB / 0.6128 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4339, allocations: 8 kB / 0.6129 GB, free: 6.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.4341, allocations: 201.5 kB / 0.613 GB, free: 6.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4341, allocations: 4 kB / 0.613 GB, free: 6.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.4343, allocations: 35.88 kB / 0.6131 GB, free: 6.113 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.0009066/0.4352, allocations: 452.9 kB / 0.6135 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.4355, allocations: 87.89 kB / 0.6136 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4355, allocations: 0 / 0.6136 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.4356, allocations: 43.97 kB / 0.6136 GB, free: 5.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4359, allocations: 21.38 kB / 0.6137 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.4364, allocations: 392.9 kB / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.4367, allocations: 0.72 MB / 0.6147 GB, free: 4.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.4367, allocations: 19.44 kB / 0.6148 GB, free: 4.508 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4368, allocations: 0 / 0.6148 GB, free: 4.508 MB / 426.7 MB Notification: Performance of Templates: time 0.003357/0.4401, allocations: 2.057 MB / 0.6168 GB, free: 2.453 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches