Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001429/0.001429, allocations: 199.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, 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.0008324/0.0008323, allocations: 102.5 kB / 295.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3229/0.3229, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002533, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.285, allocations: 62.96 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.001409/0.2864, allocations: 1.309 MB / 0.5172 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006157/0.2871, allocations: 0.4983 MB / 0.5176 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.2871, allocations: 4 kB / 0.5176 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.2873, allocations: 74.91 kB / 0.5177 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.2875, allocations: 82.88 kB / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.2878, allocations: 94.73 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2879, allocations: 72.05 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.288, allocations: 29.47 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.288, allocations: 19.25 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.2881, allocations: 43.73 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2881, allocations: 2.469 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.2882, allocations: 35.08 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.2882, allocations: 17.28 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.2883, allocations: 54.91 kB / 0.5181 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.2884, allocations: 74.23 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2884, allocations: 0 / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2884, allocations: 2.656 kB / 0.5182 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.2884, allocations: 0 / 0.5182 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003259/0.2887, allocations: 397.5 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.2888, allocations: 8.25 kB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2888, allocations: 10.31 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2889, allocations: 201.6 kB / 0.5188 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.289, allocations: 4.375 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.289, allocations: 11.16 kB / 0.5188 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.2891, allocations: 58.5 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2891, allocations: 0 / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.2891, allocations: 6.625 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2891, allocations: 0 / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.447e-05/0.2892, allocations: 30.88 kB / 0.5189 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.2895, allocations: 300.9 kB / 0.5192 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.703e-05/0.2896, allocations: 55.69 kB / 0.5193 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.2897, allocations: 28.22 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.2897, allocations: 4 kB / 0.5193 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.2897, allocations: 30.56 kB / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2897, allocations: 0 / 0.5193 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007714/0.2905, allocations: 260.8 kB / 0.5196 GB, free: 34.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.2905, allocations: 55.41 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2907, allocations: 202.7 kB / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.2907, allocations: 28.73 kB / 0.5198 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.2907, allocations: 102.4 kB / 0.5199 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.2908, allocations: 26.45 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.2908, allocations: 0 / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.2908, allocations: 322 kB / 0.5203 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.471e-05/0.2909, allocations: 39.81 kB / 0.5203 GB, free: 33.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.291, allocations: 38.5 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2911, allocations: 82.06 kB / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.2911, allocations: 0 / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001774/0.2913, allocations: 125.5 kB / 0.5205 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2913, allocations: 8.25 kB / 0.5205 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2913, allocations: 0 / 0.5205 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2914, allocations: 0 / 0.5205 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.2914, allocations: 20.36 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2915, allocations: 7.875 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.2915, allocations: 13.72 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2915, allocations: 7.422 kB / 0.5206 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 5.809e-05/0.2916, allocations: 121.3 kB / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.2916, allocations: 9.781 kB / 0.5207 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2919, allocations: 144.2 kB / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2919, allocations: 0 / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2919, allocations: 0 / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2919, allocations: 3.938 kB / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.2923, allocations: 430 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2923, allocations: 3.031 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.2923, allocations: 22.02 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2924, allocations: 3.938 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2924, allocations: 3.031 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2924, allocations: 0 / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2924, allocations: 0 / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.2926, allocations: 222.2 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.2926, allocations: 98.94 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2926, allocations: 2.719 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.2927, allocations: 9.625 kB / 0.5216 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.2927, allocations: 13.81 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2928, allocations: 2.844 kB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.517e-05/0.2928, allocations: 152.5 kB / 0.5218 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2929, allocations: 0 / 0.5218 GB, free: 32.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.2931, allocations: 27.08 kB / 0.5218 GB, free: 32.66 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.0008082/0.2939, allocations: 438.2 kB / 0.5222 GB, free: 32.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2941, allocations: 83.86 kB / 0.5223 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2941, allocations: 7.938 kB / 0.5223 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.2942, allocations: 47.09 kB / 0.5224 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2945, allocations: 17.95 kB / 0.5224 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.2949, allocations: 295.7 kB / 0.5227 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.295, allocations: 0.7123 MB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.2951, allocations: 19.8 kB / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2951, allocations: 0 / 0.5234 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.002804/0.2979, allocations: 1.777 MB / 0.5251 GB, free: 31.25 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches