Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 197.6 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008021/0.0008023, allocations: 110.6 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3106/0.3106, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.359, allocations: 62.96 MB / 0.5159 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.001883/0.361, allocations: 1.305 MB / 0.5171 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008015/0.3618, allocations: 498.6 kB / 0.5176 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.3619, allocations: 0 / 0.5176 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3622, allocations: 81.73 kB / 0.5177 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.3624, allocations: 89.59 kB / 0.5178 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3627, allocations: 84.19 kB / 0.5179 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3629, allocations: 67.77 kB / 0.5179 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3631, allocations: 24.41 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.3631, allocations: 26.61 kB / 0.518 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3632, allocations: 53.92 kB / 0.518 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3633, allocations: 0 / 0.518 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.3634, allocations: 36.56 kB / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.3634, allocations: 15.47 kB / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.3635, allocations: 59.16 kB / 0.5181 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3636, allocations: 72.45 kB / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3636, allocations: 0 / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3636, allocations: 0 / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3637, allocations: 0 / 0.5182 GB, free: 35.47 MB / 378.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.0004892/0.3642, allocations: 398.3 kB / 0.5186 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3642, allocations: 16.16 kB / 0.5186 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3643, allocations: 14.75 kB / 0.5186 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3645, allocations: 209.6 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3645, allocations: 384 / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.3645, allocations: 7.031 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3647, allocations: 51.84 kB / 0.5189 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3647, allocations: 0 / 0.5189 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3647, allocations: 7 kB / 0.5189 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3648, allocations: 2.844 kB / 0.5189 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3649, allocations: 32.33 kB / 0.5189 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.3653, allocations: 298 kB / 0.5192 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3654, allocations: 49.02 kB / 0.5192 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.3655, allocations: 16.81 kB / 0.5193 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3655, allocations: 0 / 0.5193 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3655, allocations: 33.47 kB / 0.5193 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3655, allocations: 0 / 0.5193 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000859/0.3664, allocations: 260.2 kB / 0.5195 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3664, allocations: 55.34 kB / 0.5196 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.3667, allocations: 223.6 kB / 0.5198 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3667, allocations: 29.02 kB / 0.5198 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3668, allocations: 106.2 kB / 0.5199 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3668, allocations: 21.81 kB / 0.52 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.3668, allocations: 10.84 kB / 0.52 GB, free: 33.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.3669, allocations: 321.1 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.367, allocations: 24.61 kB / 0.5203 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.367, allocations: 31.81 kB / 0.5203 GB, free: 33.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3672, allocations: 73.22 kB / 0.5204 GB, free: 33.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3672, allocations: 0 / 0.5204 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001796/0.3674, allocations: 107.3 kB / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3674, allocations: 2.938 kB / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3674, allocations: 11 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3674, allocations: 0 / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3675, allocations: 23.48 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3676, allocations: 0 / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.3676, allocations: 13.25 kB / 0.5205 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3676, allocations: 0 / 0.5205 GB, free: 33.51 MB / 378.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 7.939e-05/0.3677, allocations: 128.8 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3677, allocations: 13.78 kB / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.368, allocations: 122.2 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.368, allocations: 2.969 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.368, allocations: 0 / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.368, allocations: 3.938 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3685, allocations: 426.4 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3685, allocations: 0 / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.3685, allocations: 18.3 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3686, allocations: 6.875 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3686, allocations: 4.031 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3686, allocations: 3 kB / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3686, allocations: 0 / 0.5212 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3688, allocations: 211.7 kB / 0.5214 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3688, allocations: 102.1 kB / 0.5215 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3689, allocations: 0 / 0.5215 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.3689, allocations: 9.016 kB / 0.5215 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.369, allocations: 3.625 kB / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.369, allocations: 3.875 kB / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3691, allocations: 162.6 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3691, allocations: 0 / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.3694, allocations: 28.38 kB / 0.5217 GB, free: 32.56 MB / 378.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.001034/0.3704, allocations: 440.2 kB / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3707, allocations: 78.92 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3707, allocations: 2.688 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.3708, allocations: 38.47 kB / 0.5223 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.3712, allocations: 20.73 kB / 0.5223 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.3717, allocations: 297 kB / 0.5226 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3719, allocations: 0.7162 MB / 0.5233 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3719, allocations: 12.53 kB / 0.5233 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3719, allocations: 0 / 0.5233 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.00331/0.3752, allocations: 1.744 MB / 0.525 GB, free: 31.15 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches