Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 194.9 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 226.5 MB / 243.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008398/0.0008398, allocations: 98.48 kB / 295.5 MB, free: 6.625 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.345/0.345, allocations: 44.82 MB / 392.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.000306, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3177, allocations: 62.95 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00197/0.3197, allocations: 1.304 MB / 0.5171 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.3206, allocations: 0.5163 MB / 0.5176 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.3207, allocations: 0 / 0.5176 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.3212, allocations: 449.6 kB / 0.5181 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.3216, allocations: 270.2 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.3221, allocations: 150.5 kB / 0.5185 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3223, allocations: 136.9 kB / 0.5186 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3224, allocations: 16.73 kB / 0.5186 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3225, allocations: 98.91 kB / 0.5187 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3227, allocations: 169.7 kB / 0.5189 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3228, allocations: 4 kB / 0.5189 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.3229, allocations: 22.06 kB / 0.5189 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.323, allocations: 81.77 kB / 0.519 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.323, allocations: 117.4 kB / 0.5191 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3232, allocations: 172.8 kB / 0.5193 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3232, allocations: 0 / 0.5193 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3233, allocations: 3.031 kB / 0.5193 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3233, allocations: 0 / 0.5193 GB, free: 35.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005821/0.3239, allocations: 0.5746 MB / 0.5198 GB, free: 34.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3239, allocations: 18.45 kB / 0.5198 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.324, allocations: 45 kB / 0.5199 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.3242, allocations: 301.5 kB / 0.5202 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3242, allocations: 4.375 kB / 0.5202 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3242, allocations: 7.328 kB / 0.5202 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3244, allocations: 52.17 kB / 0.5202 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3244, allocations: 2.969 kB / 0.5202 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3244, allocations: 0 / 0.5202 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3244, allocations: 0 / 0.5202 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.3245, allocations: 40.09 kB / 0.5203 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.3249, allocations: 380 kB / 0.5206 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.325, allocations: 37.62 kB / 0.5207 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.3251, allocations: 20.72 kB / 0.5207 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3251, allocations: 3 kB / 0.5207 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3251, allocations: 30.56 kB / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3251, allocations: 0 / 0.5207 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002512/0.3254, allocations: 114.3 kB / 0.5208 GB, free: 34.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.3254, allocations: 55.41 kB / 0.5209 GB, free: 34.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006528/0.3261, allocations: 0.8727 MB / 0.5217 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.3261, allocations: 25.7 kB / 0.5218 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3262, allocations: 225.7 kB / 0.522 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3263, allocations: 3.906 kB / 0.522 GB, free: 33.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.3263, allocations: 0 / 0.522 GB, free: 33.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.3264, allocations: 361.7 kB / 0.5223 GB, free: 33.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.3264, allocations: 20.08 kB / 0.5223 GB, free: 33.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.3264, allocations: 5.812 kB / 0.5224 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.3265, allocations: 32.86 kB / 0.5224 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3265, allocations: 0 / 0.5224 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.3267, allocations: 105.5 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3267, allocations: 8.188 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3267, allocations: 3.422 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3267, allocations: 0 / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.3268, allocations: 9.656 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3268, allocations: 0 / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.3268, allocations: 2.875 kB / 0.5225 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.3268, allocations: 2.781 kB / 0.5225 GB, free: 33.12 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 (2): * Single equations (assignments): 2 * 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.0001279/0.327, allocations: 217.5 kB / 0.5227 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.327, allocations: 43.88 kB / 0.5228 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3272, allocations: 119.3 kB / 0.5229 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3272, allocations: 0 / 0.5229 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3272, allocations: 0 / 0.5229 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3272, allocations: 0 / 0.5229 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3274, allocations: 298.2 kB / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3274, allocations: 0 / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.3275, allocations: 6.156 kB / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3275, allocations: 0 / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3275, allocations: 0 / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3275, allocations: 7.047 kB / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3275, allocations: 0 / 0.5232 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.3276, allocations: 190.6 kB / 0.5234 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.3277, allocations: 123 kB / 0.5235 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3277, allocations: 3.938 kB / 0.5235 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.544e-05/0.3278, allocations: 2.656 kB / 0.5235 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.3278, allocations: 3.469 kB / 0.5235 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.3278, allocations: 2.469 kB / 0.5235 GB, free: 32.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.3283, allocations: 0.6553 MB / 0.5241 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3283, allocations: 0 / 0.5241 GB, free: 32.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.3285, allocations: 18.19 kB / 0.5241 GB, free: 32.12 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 (2): * Single equations (assignments): 2 * 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.000692/0.3292, allocations: 348 kB / 0.5245 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3294, allocations: 34.2 kB / 0.5245 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3294, allocations: 0 / 0.5245 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.3294, allocations: 11.97 kB / 0.5245 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3298, allocations: 26.47 kB / 0.5245 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008809/0.3307, allocations: 0.8436 MB / 0.5254 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3309, allocations: 0.82 MB / 0.5262 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.331, allocations: 16.27 kB / 0.5262 GB, free: 30.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.331, allocations: 0 / 0.5262 GB, free: 30.77 MB / 378.7 MB Notification: Performance of Templates: time 0.005443/0.3364, allocations: 3.451 MB / 0.5295 GB, free: 30 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches