Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 193.9 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.5 MB / 243.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007506/0.0007507, allocations: 89.8 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.3227/0.3227, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002971, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.392, allocations: 62.96 MB / 0.5159 GB, free: 37.4 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001809/0.3939, allocations: 1.304 MB / 0.5171 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.3947, allocations: 0.5043 MB / 0.5176 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.3948, allocations: 0 / 0.5176 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.3951, allocations: 96.47 kB / 0.5177 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.3953, allocations: 94.38 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.3956, allocations: 99.67 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3957, allocations: 68.67 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3959, allocations: 22.3 kB / 0.518 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.3959, allocations: 33.02 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.3961, allocations: 39.02 kB / 0.5181 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3961, allocations: 6.969 kB / 0.5181 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.3962, allocations: 36.17 kB / 0.5181 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.3962, allocations: 20.19 kB / 0.5181 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.3963, allocations: 55.39 kB / 0.5182 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3964, allocations: 84.69 kB / 0.5183 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3964, allocations: 0 / 0.5183 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3964, allocations: 0 / 0.5183 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3964, allocations: 0 / 0.5183 GB, free: 35.85 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.0004413/0.3969, allocations: 405.8 kB / 0.5187 GB, free: 35.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3969, allocations: 12.81 kB / 0.5187 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.397, allocations: 10.72 kB / 0.5187 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3972, allocations: 208.4 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3972, allocations: 3.344 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3972, allocations: 7.406 kB / 0.5189 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3974, allocations: 54.84 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3974, allocations: 0 / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3974, allocations: 0 / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3974, allocations: 0 / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.477e-05/0.3975, allocations: 43.66 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3979, allocations: 302.6 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.398, allocations: 56.58 kB / 0.5193 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.3981, allocations: 19.27 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3981, allocations: 3.938 kB / 0.5193 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3981, allocations: 33.89 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3981, allocations: 0 / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008661/0.399, allocations: 272.5 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.399, allocations: 54.31 kB / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3992, allocations: 231.9 kB / 0.5199 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3993, allocations: 33.64 kB / 0.5199 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.3993, allocations: 114 kB / 0.5201 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3994, allocations: 18.56 kB / 0.5201 GB, free: 34.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.3994, allocations: 4 kB / 0.5201 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.3994, allocations: 331.2 kB / 0.5204 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.3995, allocations: 29.12 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.3996, allocations: 35.47 kB / 0.5205 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3998, allocations: 82.44 kB / 0.5205 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3998, allocations: 0 / 0.5205 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002016/0.4, allocations: 130.2 kB / 0.5207 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4, allocations: 4.656 kB / 0.5207 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4, allocations: 0 / 0.5207 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4, allocations: 4 kB / 0.5207 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4001, allocations: 19.78 kB / 0.5207 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4002, allocations: 0 / 0.5207 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.4002, allocations: 16.61 kB / 0.5207 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4002, allocations: 2.969 kB / 0.5207 GB, free: 33.86 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 8.731e-05/0.4003, allocations: 132.8 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.4003, allocations: 13.62 kB / 0.5208 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.4006, allocations: 138.1 kB / 0.521 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4006, allocations: 6.047 kB / 0.521 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4006, allocations: 0 / 0.521 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4007, allocations: 3.938 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.4011, allocations: 428 kB / 0.5214 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4011, allocations: 0 / 0.5214 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.4012, allocations: 20.59 kB / 0.5214 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4012, allocations: 3.938 kB / 0.5214 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4012, allocations: 10.97 kB / 0.5214 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4012, allocations: 3.938 kB / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4012, allocations: 0 / 0.5214 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.4014, allocations: 220.7 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.4015, allocations: 94.27 kB / 0.5217 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4015, allocations: 0 / 0.5217 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.4016, allocations: 9.594 kB / 0.5217 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4016, allocations: 10.27 kB / 0.5217 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4016, allocations: 2.875 kB / 0.5217 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.4018, allocations: 175.4 kB / 0.5219 GB, free: 32.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4018, allocations: 0 / 0.5219 GB, free: 32.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00025/0.402, allocations: 22.28 kB / 0.5219 GB, free: 32.91 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.0009526/0.403, allocations: 457.2 kB / 0.5224 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4032, allocations: 88.62 kB / 0.5225 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4032, allocations: 0 / 0.5225 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.4033, allocations: 44.08 kB / 0.5225 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4036, allocations: 21.55 kB / 0.5225 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.4041, allocations: 335.2 kB / 0.5228 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.4043, allocations: 0.7195 MB / 0.5235 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.4044, allocations: 15.94 kB / 0.5236 GB, free: 31.68 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4044, allocations: 3.938 kB / 0.5236 GB, free: 31.68 MB / 378.7 MB Notification: Performance of Templates: time 0.003238/0.4076, allocations: 1.821 MB / 0.5253 GB, free: 31.47 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches