Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008238/0.0008239, allocations: 96.69 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3193/0.3193, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.000262, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.321, allocations: 62.96 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4418, allocations: 90.06 MB / 0.6044 GB, free: 15.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4421, allocations: 75.95 kB / 0.6045 GB, free: 15.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.4558, allocations: 5.661 MB / 0.61 GB, free: 9.578 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4558, allocations: 0 / 0.61 GB, free: 9.578 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.4559, allocations: 0 / 0.61 GB, free: 9.578 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.0004385/0.4563, allocations: 419.4 kB / 0.6104 GB, free: 9.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4563, allocations: 12.03 kB / 0.6104 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.4564, allocations: 8.844 kB / 0.6104 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.4566, allocations: 211 kB / 0.6106 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4566, allocations: 384 / 0.6106 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.4567, allocations: 4.375 kB / 0.6106 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.4568, allocations: 79.94 kB / 0.6107 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4569, allocations: 192 / 0.6107 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4569, allocations: 7.875 kB / 0.6107 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4569, allocations: 3.938 kB / 0.6107 GB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.457, allocations: 47.97 kB / 0.6108 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.4574, allocations: 292.8 kB / 0.6111 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4575, allocations: 50.56 kB / 0.6111 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.4576, allocations: 32.88 kB / 0.6111 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4576, allocations: 0 / 0.6111 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.4576, allocations: 34.56 kB / 0.6112 GB, free: 8.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.4576, allocations: 0 / 0.6112 GB, free: 8.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007194/0.4584, allocations: 253.1 kB / 0.6114 GB, free: 7.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4584, allocations: 77.11 kB / 0.6115 GB, free: 7.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4586, allocations: 152.2 kB / 0.6116 GB, free: 7.723 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4586, allocations: 29.7 kB / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.4586, allocations: 96.14 kB / 0.6118 GB, free: 7.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.4587, allocations: 27.64 kB / 0.6118 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.4587, allocations: 0 / 0.6118 GB, free: 7.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4588, allocations: 328 kB / 0.6121 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4589, allocations: 31.98 kB / 0.6121 GB, free: 7.203 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.459, allocations: 61.67 kB / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.4592, allocations: 89.06 kB / 0.6123 GB, free: 7.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4592, allocations: 4 kB / 0.6123 GB, free: 7.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002698/0.4595, allocations: 133.5 kB / 0.6124 GB, free: 6.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4595, allocations: 8 kB / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4596, allocations: 0 / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4596, allocations: 0 / 0.6124 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4597, allocations: 19.98 kB / 0.6124 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4597, allocations: 4 kB / 0.6124 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.4598, allocations: 15.98 kB / 0.6124 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.4598, allocations: 4 kB / 0.6124 GB, free: 6.855 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 (7): * Single equations (assignments): 7 * 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.87e-05/0.4599, allocations: 121.8 kB / 0.6126 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.4599, allocations: 7.906 kB / 0.6126 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.4602, allocations: 142.3 kB / 0.6127 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4603, allocations: 0 / 0.6127 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4603, allocations: 0 / 0.6127 GB, free: 6.574 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4603, allocations: 3.984 kB / 0.6127 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.4608, allocations: 418.3 kB / 0.6131 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4608, allocations: 3.938 kB / 0.6131 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.4609, allocations: 27.98 kB / 0.6131 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4609, allocations: 0 / 0.6131 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.4609, allocations: 4 kB / 0.6131 GB, free: 6.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4609, allocations: 4 kB / 0.6131 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4609, allocations: 3.938 kB / 0.6131 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.4612, allocations: 219.4 kB / 0.6134 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.4613, allocations: 89 kB / 0.6134 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.4613, allocations: 4 kB / 0.6134 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.4614, allocations: 23.92 kB / 0.6135 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.4615, allocations: 11.86 kB / 0.6135 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.4615, allocations: 4 kB / 0.6135 GB, free: 5.684 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.4616, allocations: 121 kB / 0.6136 GB, free: 5.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4616, allocations: 0 / 0.6136 GB, free: 5.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.4619, allocations: 47.98 kB / 0.6136 GB, free: 5.52 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 (7): * Single equations (assignments): 7 * 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.001012/0.4629, allocations: 0.489 MB / 0.6141 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002702/0.4632, allocations: 95.92 kB / 0.6142 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4632, allocations: 0 / 0.6142 GB, free: 5.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4633, allocations: 55.91 kB / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.4636, allocations: 23.91 kB / 0.6143 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.464, allocations: 226.8 kB / 0.6145 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.4643, allocations: 0.6965 MB / 0.6152 GB, free: 4.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.4643, allocations: 19.44 kB / 0.6152 GB, free: 4.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4643, allocations: 0 / 0.6152 GB, free: 4.02 MB / 426.7 MB Notification: Performance of Templates: time 0.003498/0.4678, allocations: 2.11 MB / 0.6173 GB, free: 1.914 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches