Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 199.7 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.349/1.349, allocations: 226.5 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008078/0.0008079, allocations: 95.62 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3405/0.3405, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003013, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3582, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001747/0.36, allocations: 1.283 MB / 0.5171 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.3608, allocations: 0.503 MB / 0.5176 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.3609, allocations: 0 / 0.5176 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3611, allocations: 23.86 kB / 0.5176 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3613, allocations: 58.33 kB / 0.5177 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.3616, allocations: 97.38 kB / 0.5178 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3617, allocations: 50.06 kB / 0.5178 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.3618, allocations: 25.86 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.3618, allocations: 28.12 kB / 0.5179 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.3619, allocations: 19.98 kB / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.3619, allocations: 0 / 0.5179 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.362, allocations: 25.88 kB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.362, allocations: 17.03 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.3621, allocations: 48.41 kB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3622, allocations: 58.03 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3622, allocations: 0 / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3622, allocations: 4 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3622, allocations: 0 / 0.5181 GB, free: 35.61 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.0003815/0.3626, allocations: 371.8 kB / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3627, allocations: 8.875 kB / 0.5184 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3627, allocations: 7.781 kB / 0.5184 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3628, allocations: 195.5 kB / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.3629, allocations: 384 / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3629, allocations: 2.969 kB / 0.5186 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3631, allocations: 63.67 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3631, allocations: 0 / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3631, allocations: 0 / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3631, allocations: 7.062 kB / 0.5187 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.3632, allocations: 29.72 kB / 0.5187 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3635, allocations: 287.8 kB / 0.519 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3637, allocations: 54.25 kB / 0.519 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.3638, allocations: 13.95 kB / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3638, allocations: 3.328 kB / 0.5191 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3639, allocations: 38.56 kB / 0.5191 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3639, allocations: 2.625 kB / 0.5191 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000537/0.3644, allocations: 160.7 kB / 0.5192 GB, free: 34.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3645, allocations: 54.78 kB / 0.5193 GB, free: 34.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3646, allocations: 174.9 kB / 0.5195 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.3646, allocations: 25.7 kB / 0.5195 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.3646, allocations: 98.53 kB / 0.5196 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.3647, allocations: 14.91 kB / 0.5196 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.3647, allocations: 0 / 0.5196 GB, free: 34.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.3647, allocations: 321.2 kB / 0.5199 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.3648, allocations: 29.44 kB / 0.5199 GB, free: 33.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.3649, allocations: 25.23 kB / 0.52 GB, free: 33.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.365, allocations: 66.44 kB / 0.52 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.365, allocations: 0 / 0.52 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000158/0.3652, allocations: 90.55 kB / 0.5201 GB, free: 33.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3652, allocations: 5.75 kB / 0.5201 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3652, allocations: 64 / 0.5201 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3652, allocations: 6.844 kB / 0.5201 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.3653, allocations: 22.69 kB / 0.5201 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3653, allocations: 0 / 0.5201 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.3653, allocations: 9.438 kB / 0.5202 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.3654, allocations: 0 / 0.5202 GB, free: 33.77 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 6.327e-05/0.3654, allocations: 118.7 kB / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3655, allocations: 9.031 kB / 0.5203 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.3657, allocations: 107.9 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.3657, allocations: 3 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3657, allocations: 0 / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3657, allocations: 7.266 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.366, allocations: 362.7 kB / 0.5207 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3661, allocations: 3.938 kB / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.3661, allocations: 14.62 kB / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3661, allocations: 0 / 0.5207 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.3661, allocations: 7.938 kB / 0.5208 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3661, allocations: 2.938 kB / 0.5208 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3661, allocations: 0 / 0.5208 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3663, allocations: 185.8 kB / 0.5209 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3664, allocations: 87.14 kB / 0.521 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3664, allocations: 14.69 kB / 0.521 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.3665, allocations: 5.953 kB / 0.521 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.3665, allocations: 14.86 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.3665, allocations: 3.125 kB / 0.5211 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.3666, allocations: 125.4 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3666, allocations: 0 / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.3668, allocations: 20.16 kB / 0.5212 GB, free: 32.88 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.0009708/0.3678, allocations: 395.8 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.368, allocations: 57.94 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.368, allocations: 0 / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.151e-05/0.3681, allocations: 39.72 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3685, allocations: 21.77 kB / 0.5217 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.3689, allocations: 226.5 kB / 0.5219 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.3691, allocations: 0.6999 MB / 0.5226 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.3692, allocations: 13.84 kB / 0.5226 GB, free: 31.74 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3692, allocations: 0 / 0.5226 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Templates: time 0.003534/0.3727, allocations: 1.468 MB / 0.524 GB, free: 31.57 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches