Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 193 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 97.34 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.2973/0.2973, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 12 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 62.96 MB / 0.5159 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.001586/0.2844, allocations: 1.328 MB / 0.5172 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007141/0.2851, allocations: 0.518 MB / 0.5177 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.2852, allocations: 0 / 0.5177 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.2855, allocations: 88.8 kB / 0.5178 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2857, allocations: 96.97 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.286, allocations: 105.2 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2861, allocations: 80.64 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2863, allocations: 33.56 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.2863, allocations: 37.5 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.105e-05/0.2864, allocations: 46.38 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2864, allocations: 2.875 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-05/0.2865, allocations: 37.78 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.2866, allocations: 16.12 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.2866, allocations: 69.7 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2868, allocations: 90.77 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.2868, allocations: 4 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2868, allocations: 0 / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2868, allocations: 0 / 0.5184 GB, free: 35.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003714/0.2872, allocations: 418.2 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2872, allocations: 11.28 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.2873, allocations: 15.09 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2874, allocations: 209.8 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2874, allocations: 3.438 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.2875, allocations: 22.2 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2876, allocations: 77.38 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2877, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2877, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2877, allocations: 3.031 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2878, allocations: 43.2 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000374/0.2882, allocations: 352.9 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2883, allocations: 66.09 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.2884, allocations: 26.61 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2884, allocations: 7.938 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.2884, allocations: 33.5 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2884, allocations: 0 / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000919/0.2893, allocations: 358.1 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.2894, allocations: 55.41 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2895, allocations: 241.3 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2896, allocations: 32.45 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.2896, allocations: 113 kB / 0.5204 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.2896, allocations: 40.48 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.2897, allocations: 4 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.2897, allocations: 327.8 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.2898, allocations: 49.69 kB / 0.5208 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.2899, allocations: 48.55 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2901, allocations: 120.6 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2901, allocations: 4 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002243/0.2903, allocations: 158.2 kB / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2903, allocations: 5.969 kB / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2903, allocations: 0 / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2904, allocations: 3.938 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.2905, allocations: 35.72 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2905, allocations: 4.234 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.2905, allocations: 9.75 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2906, allocations: 2.656 kB / 0.5211 GB, free: 33.45 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 (13): * Single equations (assignments): 13 * 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.311e-05/0.2906, allocations: 135.5 kB / 0.5213 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.2907, allocations: 17.73 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.291, allocations: 201.9 kB / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.291, allocations: 2.875 kB / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.291, allocations: 0 / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.291, allocations: 0 / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.2915, allocations: 0.5158 MB / 0.522 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2915, allocations: 0 / 0.522 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2916, allocations: 23.83 kB / 0.522 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2916, allocations: 3 kB / 0.522 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2917, allocations: 3.938 kB / 0.522 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2917, allocations: 6.844 kB / 0.522 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2917, allocations: 7.312 kB / 0.522 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.2919, allocations: 264.2 kB / 0.5223 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.292, allocations: 98.98 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.292, allocations: 0 / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.2921, allocations: 13.62 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2921, allocations: 9.703 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.2921, allocations: 2.406 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.2922, allocations: 181.6 kB / 0.5226 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2922, allocations: 0 / 0.5226 GB, free: 32.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.2925, allocations: 29.28 kB / 0.5226 GB, free: 32.41 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 (13): * Single equations (assignments): 13 * 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.0008287/0.2933, allocations: 454.4 kB / 0.523 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.2936, allocations: 123.4 kB / 0.5231 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2936, allocations: 0 / 0.5231 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2937, allocations: 65.83 kB / 0.5232 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.294, allocations: 19.86 kB / 0.5232 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.2945, allocations: 391.4 kB / 0.5236 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2946, allocations: 0.7207 MB / 0.5243 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.2946, allocations: 20.25 kB / 0.5243 GB, free: 31.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2946, allocations: 0 / 0.5243 GB, free: 31.14 MB / 378.7 MB Notification: Performance of Templates: time 0.002995/0.2976, allocations: 2.142 MB / 0.5264 GB, free: 30.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches