Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, 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.347/1.347, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007536/0.0007536, allocations: 92.44 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3445/0.3445, allocations: 44.81 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4008, allocations: 62.95 MB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001866/0.4027, allocations: 1.306 MB / 0.5172 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.4036, allocations: 0.495 MB / 0.5176 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.4037, allocations: 6.969 kB / 0.5176 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.404, allocations: 108.5 kB / 0.5177 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.4044, allocations: 100.8 kB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.4047, allocations: 104 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.4049, allocations: 77.7 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.405, allocations: 20.53 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.405, allocations: 34.8 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.4051, allocations: 47.91 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4052, allocations: 2.969 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.876e-05/0.4053, allocations: 50.02 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.4053, allocations: 16.97 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.492e-05/0.4054, allocations: 59.14 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.4055, allocations: 83.12 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4055, allocations: 0 / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.4055, allocations: 0 / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.4055, allocations: 0 / 0.5183 GB, free: 35.66 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.0004323/0.406, allocations: 411.6 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.406, allocations: 9.469 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.4061, allocations: 18.44 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.4062, allocations: 217.3 kB / 0.5189 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.4063, allocations: 384 / 0.5189 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.4063, allocations: 7.234 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.4064, allocations: 63.05 kB / 0.519 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4064, allocations: 3.906 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4065, allocations: 0 / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4065, allocations: 2.656 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.4066, allocations: 33.41 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.4069, allocations: 302.7 kB / 0.5193 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.407, allocations: 48.81 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.4071, allocations: 24.19 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4071, allocations: 4.062 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.4072, allocations: 37.8 kB / 0.5194 GB, free: 34.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4072, allocations: 0 / 0.5194 GB, free: 34.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008075/0.408, allocations: 263.2 kB / 0.5197 GB, free: 34.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.408, allocations: 51.41 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.4082, allocations: 253.5 kB / 0.52 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.4082, allocations: 25.7 kB / 0.52 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.637e-05/0.4083, allocations: 119.9 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.4083, allocations: 25.84 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.4083, allocations: 0 / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.4084, allocations: 331.6 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.4085, allocations: 30.94 kB / 0.5205 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.4086, allocations: 42.44 kB / 0.5205 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4087, allocations: 81.81 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4087, allocations: 0 / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001869/0.4089, allocations: 125.3 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4089, allocations: 8.188 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.4089, allocations: 0 / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.409, allocations: 0 / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.4091, allocations: 30.8 kB / 0.5208 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4091, allocations: 6.75 kB / 0.5208 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.4091, allocations: 12.72 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.4091, allocations: 6.5 kB / 0.5208 GB, free: 33.65 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.051e-05/0.4092, allocations: 130.4 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.4092, allocations: 13.47 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4095, allocations: 134.8 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4095, allocations: 2.844 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4095, allocations: 0 / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4095, allocations: 7.359 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.41, allocations: 432.2 kB / 0.5215 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.41, allocations: 0 / 0.5215 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.41, allocations: 25.08 kB / 0.5215 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4101, allocations: 4.359 kB / 0.5215 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4101, allocations: 6.906 kB / 0.5215 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4101, allocations: 32 / 0.5215 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4101, allocations: 4 kB / 0.5215 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.4103, allocations: 217.4 kB / 0.5217 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.4104, allocations: 102 kB / 0.5218 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.4104, allocations: 4 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.4105, allocations: 5.531 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.4105, allocations: 13.84 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4105, allocations: 2.844 kB / 0.5219 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.4106, allocations: 196.3 kB / 0.522 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4107, allocations: 0 / 0.522 GB, free: 32.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.4109, allocations: 21.81 kB / 0.5221 GB, free: 32.69 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.0008567/0.4118, allocations: 444.8 kB / 0.5225 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.412, allocations: 93.22 kB / 0.5226 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.412, allocations: 0 / 0.5226 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.4121, allocations: 44.72 kB / 0.5226 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.4124, allocations: 17.28 kB / 0.5226 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.4129, allocations: 342.1 kB / 0.523 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.413, allocations: 0.7231 MB / 0.5237 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.4131, allocations: 16.72 kB / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4131, allocations: 0 / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.003037/0.4161, allocations: 1.87 MB / 0.5255 GB, free: 31.24 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches