Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001391, allocations: 193.4 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.363/1.363, allocations: 226.6 MB / 243.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008759/0.0008757, allocations: 91.28 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3155/0.3155, allocations: 44.81 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2907, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.001646/0.2923, allocations: 1.594 MB / 0.5174 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.2936, allocations: 1.063 MB / 0.5185 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.2937, allocations: 6.75 kB / 0.5185 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.2941, allocations: 161.5 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.2944, allocations: 155.1 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2947, allocations: 153.9 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.2949, allocations: 208.4 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.295, allocations: 34.08 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2951, allocations: 96.2 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.2952, allocations: 111.3 kB / 0.5194 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2953, allocations: 2.75 kB / 0.5194 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.72e-05/0.2954, allocations: 52.56 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.2954, allocations: 49.27 kB / 0.5195 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.2955, allocations: 106 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.2957, allocations: 166.8 kB / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2957, allocations: 2.781 kB / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2957, allocations: 0 / 0.5197 GB, free: 34.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2957, allocations: 0 / 0.5197 GB, free: 34.66 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.0005054/0.2962, allocations: 0.4947 MB / 0.5202 GB, free: 34.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2963, allocations: 11.72 kB / 0.5202 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.2963, allocations: 24.25 kB / 0.5202 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.2965, allocations: 276.5 kB / 0.5205 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.2966, allocations: 13.47 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.2966, allocations: 9.812 kB / 0.5205 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.2968, allocations: 112.7 kB / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2968, allocations: 0 / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2969, allocations: 2.719 kB / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2969, allocations: 3.938 kB / 0.5206 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.297, allocations: 53 kB / 0.5207 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.2974, allocations: 463.7 kB / 0.5211 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.2977, allocations: 124.7 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.2978, allocations: 45.34 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2978, allocations: 6.516 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.298, allocations: 119.4 kB / 0.5214 GB, free: 33.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.298, allocations: 0 / 0.5214 GB, free: 33.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001077/0.2991, allocations: 0.4911 MB / 0.5219 GB, free: 33.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2992, allocations: 77.11 kB / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.2994, allocations: 373.2 kB / 0.5223 GB, free: 32.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2995, allocations: 32.64 kB / 0.5224 GB, free: 32.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.2995, allocations: 150 kB / 0.5225 GB, free: 32.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.2996, allocations: 64.05 kB / 0.5226 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.2996, allocations: 8 kB / 0.5226 GB, free: 32.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.2997, allocations: 342.3 kB / 0.5229 GB, free: 32.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2998, allocations: 53.3 kB / 0.5229 GB, free: 32.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.2999, allocations: 87.59 kB / 0.523 GB, free: 32.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.3001, allocations: 163.3 kB / 0.5232 GB, free: 32.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3001, allocations: 0 / 0.5232 GB, free: 32.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000315/0.3005, allocations: 228.2 kB / 0.5234 GB, free: 31.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3005, allocations: 9.719 kB / 0.5234 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3005, allocations: 0 / 0.5234 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3005, allocations: 2.938 kB / 0.5234 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3006, allocations: 46.84 kB / 0.5235 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3007, allocations: 7 kB / 0.5235 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.804e-05/0.3007, allocations: 9.125 kB / 0.5235 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3008, allocations: 13.95 kB / 0.5235 GB, free: 31.89 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.0001068/0.3009, allocations: 159.4 kB / 0.5236 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3009, allocations: 30.97 kB / 0.5237 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.154e-05/0.301, allocations: 36.3 kB / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.301, allocations: 2.531 kB / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.301, allocations: 0 / 0.5237 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.301, allocations: 9.875 kB / 0.5237 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.3017, allocations: 0.7221 MB / 0.5244 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3017, allocations: 3 kB / 0.5244 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.3018, allocations: 30.52 kB / 0.5245 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3018, allocations: 6.906 kB / 0.5245 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3018, allocations: 10 kB / 0.5245 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3018, allocations: 2.875 kB / 0.5245 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3018, allocations: 3.125 kB / 0.5245 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.3022, allocations: 423.8 kB / 0.5249 GB, free: 30.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.3022, allocations: 112.3 kB / 0.525 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3023, allocations: 9.344 kB / 0.525 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3024, allocations: 9.156 kB / 0.525 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.3025, allocations: 17.81 kB / 0.525 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.3025, allocations: 18.69 kB / 0.525 GB, free: 30.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3027, allocations: 276.4 kB / 0.5253 GB, free: 30.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3027, allocations: 0 / 0.5253 GB, free: 30.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003172/0.303, allocations: 43.75 kB / 0.5253 GB, free: 30.57 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.000983/0.304, allocations: 0.5172 MB / 0.5258 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3043, allocations: 155.6 kB / 0.526 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3043, allocations: 4.125 kB / 0.526 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3044, allocations: 76.27 kB / 0.5261 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.0005775/0.305, allocations: 60.77 kB / 0.5261 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.3057, allocations: 0.568 MB / 0.5267 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.3059, allocations: 0.7706 MB / 0.5274 GB, free: 29.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.3059, allocations: 29.34 kB / 0.5275 GB, free: 29.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.306, allocations: 0 / 0.5275 GB, free: 29.12 MB / 378.7 MB Notification: Performance of Templates: time 0.004366/0.3103, allocations: 3.553 MB / 0.5309 GB, free: 28.71 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches