Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 198.1 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008832/0.0008832, allocations: 92.53 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3085/0.3085, allocations: 44.83 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002792, allocations: 15.98 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2822, allocations: 62.96 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.001618/0.2839, allocations: 1.588 MB / 0.5174 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2852, allocations: 1.075 MB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.2853, allocations: 2.844 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.2857, allocations: 250.1 kB / 0.5187 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.286, allocations: 197 kB / 0.5189 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.2863, allocations: 159.1 kB / 0.5191 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2866, allocations: 232.9 kB / 0.5193 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2867, allocations: 24.25 kB / 0.5193 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2868, allocations: 115.7 kB / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.2869, allocations: 163.4 kB / 0.5196 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.287, allocations: 6.938 kB / 0.5196 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2871, allocations: 49.09 kB / 0.5196 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.2872, allocations: 59.42 kB / 0.5197 GB, free: 35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.2872, allocations: 118.9 kB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2874, allocations: 185.3 kB / 0.52 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2874, allocations: 0 / 0.52 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2874, allocations: 4 kB / 0.52 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2874, allocations: 0 / 0.52 GB, free: 34.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005244/0.288, allocations: 0.537 MB / 0.5205 GB, free: 34.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.288, allocations: 9 kB / 0.5205 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.2881, allocations: 30.19 kB / 0.5205 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.2883, allocations: 295.6 kB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2883, allocations: 7.406 kB / 0.5208 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.2884, allocations: 17.11 kB / 0.5208 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.2886, allocations: 114.1 kB / 0.521 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2886, allocations: 2.75 kB / 0.521 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2886, allocations: 4 kB / 0.521 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.2886, allocations: 3.094 kB / 0.521 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2887, allocations: 44.23 kB / 0.521 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.2891, allocations: 495.5 kB / 0.5215 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.2895, allocations: 119.1 kB / 0.5216 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.2896, allocations: 41.98 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2896, allocations: 7 kB / 0.5216 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2898, allocations: 112.9 kB / 0.5218 GB, free: 33.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.2898, allocations: 0 / 0.5218 GB, free: 33.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001057/0.2909, allocations: 0.5172 MB / 0.5223 GB, free: 33.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.2909, allocations: 80.08 kB / 0.5223 GB, free: 33.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.2913, allocations: 499.8 kB / 0.5228 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.2913, allocations: 32.55 kB / 0.5228 GB, free: 32.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.2914, allocations: 168.1 kB / 0.523 GB, free: 32.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.2914, allocations: 70.5 kB / 0.5231 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.2914, allocations: 4 kB / 0.5231 GB, free: 32.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.2915, allocations: 348.4 kB / 0.5234 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2916, allocations: 57.17 kB / 0.5235 GB, free: 32.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2917, allocations: 86.73 kB / 0.5235 GB, free: 32.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.2919, allocations: 158.4 kB / 0.5237 GB, free: 32.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2919, allocations: 4 kB / 0.5237 GB, free: 32.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003112/0.2922, allocations: 238.8 kB / 0.5239 GB, free: 31.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2923, allocations: 6.781 kB / 0.5239 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2923, allocations: 2.688 kB / 0.5239 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2923, allocations: 2.969 kB / 0.5239 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.2925, allocations: 45.17 kB / 0.524 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2925, allocations: 3.938 kB / 0.524 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.2926, allocations: 5.688 kB / 0.524 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2926, allocations: 17.14 kB / 0.524 GB, free: 31.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001142/0.2927, allocations: 170.2 kB / 0.5242 GB, free: 31.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2927, allocations: 37.75 kB / 0.5242 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.656e-05/0.2928, allocations: 49.17 kB / 0.5242 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2928, allocations: 3.031 kB / 0.5243 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2928, allocations: 0 / 0.5243 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2928, allocations: 3.562 kB / 0.5243 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.2935, allocations: 0.7391 MB / 0.525 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2935, allocations: 0 / 0.525 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/0.2936, allocations: 38.08 kB / 0.525 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.2936, allocations: 0 / 0.525 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2936, allocations: 7.406 kB / 0.525 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2936, allocations: 6.875 kB / 0.525 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2936, allocations: 2.281 kB / 0.525 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.294, allocations: 430.8 kB / 0.5254 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.294, allocations: 110.5 kB / 0.5255 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.2941, allocations: 7.781 kB / 0.5256 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2942, allocations: 7.594 kB / 0.5256 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2942, allocations: 19.86 kB / 0.5256 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2943, allocations: 18.23 kB / 0.5256 GB, free: 30.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002606/0.2945, allocations: 370.6 kB / 0.5259 GB, free: 30.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2946, allocations: 4 kB / 0.526 GB, free: 30.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.2949, allocations: 55.39 kB / 0.526 GB, free: 30.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000954/0.2958, allocations: 0.5228 MB / 0.5265 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.2961, allocations: 150 kB / 0.5267 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2961, allocations: 0 / 0.5267 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2963, allocations: 85.94 kB / 0.5267 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.2968, allocations: 63.95 kB / 0.5268 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.2975, allocations: 0.6775 MB / 0.5275 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.2977, allocations: 0.7814 MB / 0.5282 GB, free: 29.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.2978, allocations: 33.16 kB / 0.5283 GB, free: 29.09 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2978, allocations: 2.594 kB / 0.5283 GB, free: 29.09 MB / 378.7 MB Notification: Performance of Templates: time 0.004504/0.3023, allocations: 3.809 MB / 0.532 GB, free: 28.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches