Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 200 kB / 16.1 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008009/0.0008006, allocations: 98.28 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3091/0.3091, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4029, allocations: 62.96 MB / 0.5159 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00188/0.4048, allocations: 1.312 MB / 0.5172 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007509/0.4056, allocations: 494.9 kB / 0.5176 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.4057, allocations: 6.969 kB / 0.5176 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.406, allocations: 103.1 kB / 0.5177 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.4062, allocations: 98.59 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.4065, allocations: 77.61 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.4066, allocations: 81.09 kB / 0.518 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4067, allocations: 21.69 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.4068, allocations: 31.92 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.4069, allocations: 54.56 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.4069, allocations: 0 / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.743e-05/0.407, allocations: 36.95 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.407, allocations: 26.58 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.4071, allocations: 66.58 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.4072, allocations: 80.81 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4072, allocations: 0 / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4072, allocations: 2.844 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4072, allocations: 0 / 0.5183 GB, free: 35.6 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.0004043/0.4077, allocations: 403.8 kB / 0.5187 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4077, allocations: 12.5 kB / 0.5187 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.4077, allocations: 18.44 kB / 0.5187 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4079, allocations: 207.4 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4079, allocations: 11.22 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.408, allocations: 384 / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4081, allocations: 58.8 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4081, allocations: 6.719 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4081, allocations: 4 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4082, allocations: 0 / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.4082, allocations: 31.02 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.4086, allocations: 301.1 kB / 0.5193 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.4087, allocations: 46.59 kB / 0.5193 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.4087, allocations: 17.55 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4087, allocations: 10.38 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.4088, allocations: 30.56 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4088, allocations: 0 / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000757/0.4095, allocations: 259 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.4096, allocations: 55.41 kB / 0.5197 GB, free: 34.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4098, allocations: 249.6 kB / 0.5199 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4098, allocations: 32.64 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.4098, allocations: 113 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4099, allocations: 25.8 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4099, allocations: 0 / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.4099, allocations: 328.2 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.41, allocations: 28.2 kB / 0.5204 GB, free: 33.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.4101, allocations: 37.39 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.4102, allocations: 65.02 kB / 0.5205 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.4102, allocations: 0 / 0.5205 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001829/0.4104, allocations: 109 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4104, allocations: 8.531 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4104, allocations: 3.938 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4105, allocations: 0 / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.4106, allocations: 25.86 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4106, allocations: 3.938 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.4106, allocations: 17.11 kB / 0.5207 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-06/0.4106, allocations: 2.781 kB / 0.5207 GB, free: 33.61 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.429e-05/0.4107, allocations: 131.5 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4107, allocations: 13.72 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.411, allocations: 128.9 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.411, allocations: 0 / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.411, allocations: 0 / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.411, allocations: 3.938 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.4114, allocations: 420.6 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4114, allocations: 0 / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.4115, allocations: 22.05 kB / 0.5214 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4115, allocations: 3.938 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4115, allocations: 6.812 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4115, allocations: 0 / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4115, allocations: 3.406 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.4117, allocations: 210.9 kB / 0.5216 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.4118, allocations: 97.61 kB / 0.5217 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4118, allocations: 4 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.4119, allocations: 13.45 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.4119, allocations: 6.688 kB / 0.5217 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.4119, allocations: 6.969 kB / 0.5217 GB, free: 32.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.4121, allocations: 198 kB / 0.5219 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 0.5219 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.4123, allocations: 26.06 kB / 0.5219 GB, free: 32.65 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.0008771/0.4132, allocations: 447.2 kB / 0.5224 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.4134, allocations: 68.64 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4134, allocations: 4 kB / 0.5224 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.4135, allocations: 38.86 kB / 0.5225 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4138, allocations: 24.5 kB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.4142, allocations: 325 kB / 0.5228 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.4144, allocations: 0.7152 MB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.4144, allocations: 13.34 kB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4145, allocations: 0 / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of Templates: time 0.002849/0.4173, allocations: 1.827 MB / 0.5253 GB, free: 31.22 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches