Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001874/0.001875, allocations: 188.9 kB / 16.09 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.389/1.389, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008282/0.0008284, allocations: 92.12 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3339/0.3339, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.000389, allocations: 8.219 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001809/0.2937, allocations: 1.287 MB / 0.5171 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2951, allocations: 1.085 MB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.2951, allocations: 2.938 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2953, allocations: 25.09 kB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.2955, allocations: 70.19 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.2957, allocations: 75.17 kB / 0.5184 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2959, allocations: 58.41 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.874e-05/0.2959, allocations: 14.08 kB / 0.5184 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.296, allocations: 19.3 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2961, allocations: 30.2 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2961, allocations: 7.031 kB / 0.5185 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2963, allocations: 78.05 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.2963, allocations: 18 kB / 0.5186 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.2964, allocations: 43.3 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.2965, allocations: 97.41 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2965, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2965, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.2965, allocations: 0 / 0.5187 GB, free: 35.27 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.0003493/0.2969, allocations: 389.2 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2969, allocations: 12.78 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.297, allocations: 13.81 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.2971, allocations: 196.6 kB / 0.5193 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.2972, allocations: 4.375 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2972, allocations: 4.312 kB / 0.5193 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2973, allocations: 65.16 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2973, allocations: 0 / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2973, allocations: 10.81 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2973, allocations: 0 / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.2974, allocations: 20.19 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.2977, allocations: 278.7 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.2979, allocations: 49.55 kB / 0.5197 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.2979, allocations: 18.86 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2979, allocations: 6.031 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.298, allocations: 30.56 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/0.298, allocations: 0 / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004689/0.2984, allocations: 155 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2985, allocations: 79.7 kB / 0.52 GB, free: 34.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.2986, allocations: 142.5 kB / 0.5201 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.2986, allocations: 29.7 kB / 0.5201 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.2986, allocations: 98.52 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.2987, allocations: 22.91 kB / 0.5203 GB, free: 33.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2987, allocations: 0 / 0.5203 GB, free: 33.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.2987, allocations: 326 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.2988, allocations: 19.42 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.2989, allocations: 42.11 kB / 0.5206 GB, free: 33.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.299, allocations: 49.52 kB / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.299, allocations: 0 / 0.5207 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000153/0.2991, allocations: 93.28 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2992, allocations: 6 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2992, allocations: 3.938 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.2992, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.2992, allocations: 15.44 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2993, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.2993, allocations: 9.75 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2993, allocations: 6.844 kB / 0.5208 GB, free: 33.35 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 5.283e-05/0.2994, allocations: 112.7 kB / 0.5209 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2994, allocations: 6.047 kB / 0.5209 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.2996, allocations: 103.1 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2996, allocations: 0 / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2996, allocations: 3.938 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2996, allocations: 288 / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.3, allocations: 357.7 kB / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3, allocations: 0 / 0.5214 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.3, allocations: 22.72 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3, allocations: 3.984 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3, allocations: 3.938 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3001, allocations: 6.688 kB / 0.5214 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3001, allocations: 0 / 0.5214 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3003, allocations: 187.2 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3003, allocations: 91.39 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3003, allocations: 2.625 kB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.3004, allocations: 9.844 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3004, allocations: 3.188 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3004, allocations: 2.969 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.3005, allocations: 118.9 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3005, allocations: 4 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.3008, allocations: 35.33 kB / 0.5218 GB, free: 32.47 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.0008799/0.3017, allocations: 489 kB / 0.5223 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.3018, allocations: 51.95 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3018, allocations: 6.781 kB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.466e-05/0.3019, allocations: 33.81 kB / 0.5224 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.3022, allocations: 13.61 kB / 0.5224 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.3025, allocations: 209.3 kB / 0.5226 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3026, allocations: 0.6942 MB / 0.5233 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.3027, allocations: 16.59 kB / 0.5233 GB, free: 31.31 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3027, allocations: 0 / 0.5233 GB, free: 31.31 MB / 378.7 MB Notification: Performance of Templates: time 0.002802/0.3055, allocations: 1.92 MB / 0.5252 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches