Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 192 kB / 16.09 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 226.5 MB / 243.4 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008125/0.0008127, allocations: 96.23 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.3862/0.3862, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 11.98 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 62.95 MB / 0.5159 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.001469/0.296, allocations: 1.309 MB / 0.5172 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006542/0.2966, allocations: 0.4926 MB / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.2967, allocations: 0 / 0.5176 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.297, allocations: 79.05 kB / 0.5177 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2972, allocations: 91.56 kB / 0.5178 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.2974, allocations: 98.31 kB / 0.5179 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.2975, allocations: 72.73 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.2976, allocations: 23.73 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.2977, allocations: 29.23 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.2978, allocations: 51.95 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2978, allocations: 0 / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.2979, allocations: 35.94 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.2979, allocations: 20.38 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.298, allocations: 55.67 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2981, allocations: 76.47 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2981, allocations: 0 / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2981, allocations: 0 / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.2981, allocations: 0 / 0.5182 GB, free: 35.55 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.0003385/0.2984, allocations: 404.4 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2985, allocations: 9.531 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2985, allocations: 14.38 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2987, allocations: 210 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2987, allocations: 3.344 kB / 0.5188 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2987, allocations: 4.375 kB / 0.5189 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2988, allocations: 55.23 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2988, allocations: 7.031 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.2989, allocations: 0 / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2989, allocations: 0 / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.299, allocations: 38.81 kB / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.2993, allocations: 302.2 kB / 0.5192 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.2994, allocations: 50.2 kB / 0.5193 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.2994, allocations: 23.72 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.2995, allocations: 0 / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.2995, allocations: 30.56 kB / 0.5193 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2995, allocations: 0 / 0.5193 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007643/0.3003, allocations: 266.8 kB / 0.5196 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.3003, allocations: 55.34 kB / 0.5196 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3004, allocations: 219.6 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3004, allocations: 28.48 kB / 0.5199 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.3005, allocations: 112.2 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3005, allocations: 26.44 kB / 0.52 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.3005, allocations: 0 / 0.52 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.3006, allocations: 327.1 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.3007, allocations: 30.3 kB / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.3007, allocations: 37.78 kB / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3009, allocations: 82.12 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3009, allocations: 0 / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001862/0.3011, allocations: 129.9 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3011, allocations: 5.625 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3011, allocations: 3.938 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.3011, allocations: 0 / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.3012, allocations: 19.98 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3013, allocations: 3.188 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.3013, allocations: 13.91 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.3013, allocations: 4 kB / 0.5206 GB, free: 33.57 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 6.25e-05/0.3014, allocations: 128.8 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3014, allocations: 9.656 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.3017, allocations: 145.4 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3017, allocations: 0 / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3017, allocations: 0 / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3017, allocations: 11.3 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.3021, allocations: 420.8 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3021, allocations: 0 / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.3022, allocations: 23.64 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3022, allocations: 3.938 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3022, allocations: 6.531 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3022, allocations: 0 / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3022, allocations: 2.938 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3024, allocations: 228 kB / 0.5216 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.3025, allocations: 95.14 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3025, allocations: 2.688 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.3026, allocations: 6.062 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3026, allocations: 9.609 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3026, allocations: 2.844 kB / 0.5217 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.3027, allocations: 162 kB / 0.5218 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3027, allocations: 0 / 0.5218 GB, free: 32.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.303, allocations: 21.56 kB / 0.5219 GB, free: 32.62 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.0008175/0.3038, allocations: 453.6 kB / 0.5223 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.304, allocations: 79.77 kB / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.304, allocations: 0 / 0.5224 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.3041, allocations: 46.92 kB / 0.5224 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3044, allocations: 30.58 kB / 0.5224 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.3048, allocations: 310.3 kB / 0.5227 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.3049, allocations: 0.7097 MB / 0.5234 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.305, allocations: 20.08 kB / 0.5235 GB, free: 31.41 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.305, allocations: 0 / 0.5235 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Templates: time 0.00266/0.3076, allocations: 1.793 MB / 0.5252 GB, free: 31.2 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches