Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 192.5 kB / 16.1 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 92.84 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3552/0.3552, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004177, allocations: 11.98 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3437, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001629/0.3453, allocations: 1.336 MB / 0.5172 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.3461, allocations: 0.5259 MB / 0.5177 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.3461, allocations: 6.781 kB / 0.5177 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.3466, allocations: 446.7 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.3469, allocations: 267.7 kB / 0.5184 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3472, allocations: 157.7 kB / 0.5185 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3474, allocations: 140.5 kB / 0.5187 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3475, allocations: 16.7 kB / 0.5187 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.3476, allocations: 109.2 kB / 0.5188 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3478, allocations: 167 kB / 0.519 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3478, allocations: 2.781 kB / 0.519 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.3479, allocations: 25.5 kB / 0.519 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.348, allocations: 90.38 kB / 0.5191 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.3481, allocations: 112.1 kB / 0.5192 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3483, allocations: 181.2 kB / 0.5193 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3483, allocations: 4 kB / 0.5193 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3483, allocations: 0 / 0.5193 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3484, allocations: 0 / 0.5193 GB, free: 35.44 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.0005804/0.3489, allocations: 0.6024 MB / 0.5199 GB, free: 34.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.349, allocations: 8.469 kB / 0.5199 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.349, allocations: 41.25 kB / 0.52 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3493, allocations: 300.8 kB / 0.5203 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3493, allocations: 8.359 kB / 0.5203 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3493, allocations: 3.344 kB / 0.5203 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3495, allocations: 62.47 kB / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3495, allocations: 0 / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3495, allocations: 0 / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3495, allocations: 2.969 kB / 0.5203 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.3496, allocations: 38.83 kB / 0.5204 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.3501, allocations: 399.5 kB / 0.5208 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3503, allocations: 49.44 kB / 0.5208 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.3503, allocations: 17.64 kB / 0.5208 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3504, allocations: 2.844 kB / 0.5208 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.3504, allocations: 37.84 kB / 0.5209 GB, free: 34.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3504, allocations: 0 / 0.5209 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005254/0.3509, allocations: 247.1 kB / 0.5211 GB, free: 34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.3509, allocations: 51.41 kB / 0.5212 GB, free: 33.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.3516, allocations: 0.8689 MB / 0.522 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.3516, allocations: 28.14 kB / 0.522 GB, free: 33.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3517, allocations: 220.4 kB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.3517, allocations: 25.94 kB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3517, allocations: 0 / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.3518, allocations: 365.1 kB / 0.5226 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.3519, allocations: 26.81 kB / 0.5226 GB, free: 33.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.352, allocations: 22.02 kB / 0.5227 GB, free: 33.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3521, allocations: 69.42 kB / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3521, allocations: 0 / 0.5227 GB, free: 33.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.3523, allocations: 133.7 kB / 0.5228 GB, free: 32.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3524, allocations: 5.344 kB / 0.5229 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3524, allocations: 2.625 kB / 0.5229 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3524, allocations: 0 / 0.5229 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.3525, allocations: 17.19 kB / 0.5229 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3525, allocations: 2.438 kB / 0.5229 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.3525, allocations: 16.17 kB / 0.5229 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.3525, allocations: 0 / 0.5229 GB, free: 32.93 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 (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 0.0001393/0.3527, allocations: 212.8 kB / 0.5231 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3527, allocations: 41.94 kB / 0.5231 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.353, allocations: 153.7 kB / 0.5233 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.353, allocations: 2.938 kB / 0.5233 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.353, allocations: 0 / 0.5233 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.353, allocations: 3.938 kB / 0.5233 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.3535, allocations: 469.4 kB / 0.5237 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3535, allocations: 0 / 0.5237 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.3535, allocations: 24.69 kB / 0.5238 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3535, allocations: 0 / 0.5238 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3536, allocations: 3.938 kB / 0.5238 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3536, allocations: 0 / 0.5238 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3536, allocations: 3.156 kB / 0.5238 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3538, allocations: 225 kB / 0.524 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.3538, allocations: 113 kB / 0.5241 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.3539, allocations: 7.156 kB / 0.5241 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.3539, allocations: 10.38 kB / 0.5241 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.354, allocations: 7.375 kB / 0.5241 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.354, allocations: 2.844 kB / 0.5241 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004597/0.3545, allocations: 0.658 MB / 0.5248 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3545, allocations: 0 / 0.5248 GB, free: 31.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.3547, allocations: 25.22 kB / 0.5248 GB, free: 31.79 MB / 378.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.0007657/0.3555, allocations: 400.7 kB / 0.5252 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.3557, allocations: 60.89 kB / 0.5252 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3557, allocations: 0 / 0.5252 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.3557, allocations: 31.86 kB / 0.5253 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3561, allocations: 23.61 kB / 0.5253 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.357, allocations: 0.8829 MB / 0.5261 GB, free: 31.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3572, allocations: 0.8219 MB / 0.5269 GB, free: 30.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.3573, allocations: 13.25 kB / 0.527 GB, free: 30.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3573, allocations: 0 / 0.527 GB, free: 30.38 MB / 378.7 MB Notification: Performance of Templates: time 0.005824/0.3631, allocations: 3.702 MB / 0.5306 GB, free: 29.58 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches