Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 195.2 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.382/1.382, allocations: 226.6 MB / 243.4 MB, free: 8.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000738/0.0007381, allocations: 100.2 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3204/0.3204, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.000277, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3783, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.001739/0.3801, allocations: 1.515 MB / 0.5174 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.3814, allocations: 1.041 MB / 0.5184 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.3815, allocations: 0 / 0.5184 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.3819, allocations: 303.8 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.3823, allocations: 219.4 kB / 0.5189 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3826, allocations: 155 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.3828, allocations: 215.4 kB / 0.5192 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/0.3829, allocations: 22.95 kB / 0.5193 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.383, allocations: 119 kB / 0.5194 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3832, allocations: 152.9 kB / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3832, allocations: 3.031 kB / 0.5195 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.3833, allocations: 47.39 kB / 0.5196 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3834, allocations: 135.6 kB / 0.5197 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.3835, allocations: 155.4 kB / 0.5198 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.3838, allocations: 277.2 kB / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3838, allocations: 0 / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3838, allocations: 0 / 0.5201 GB, free: 34.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3838, allocations: 2.969 kB / 0.5201 GB, free: 34.7 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006853/0.3845, allocations: 0.6688 MB / 0.5208 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3845, allocations: 16.52 kB / 0.5208 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.123e-05/0.3846, allocations: 47.38 kB / 0.5208 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.385, allocations: 443.8 kB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3851, allocations: 3.438 kB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3851, allocations: 6.938 kB / 0.5213 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3853, allocations: 84.91 kB / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3853, allocations: 0 / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3853, allocations: 0 / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3853, allocations: 7 kB / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.3854, allocations: 32.67 kB / 0.5214 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.3858, allocations: 374.9 kB / 0.5217 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.386, allocations: 110 kB / 0.5218 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.3861, allocations: 42.8 kB / 0.5219 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3861, allocations: 3.984 kB / 0.5219 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.3863, allocations: 110.2 kB / 0.522 GB, free: 33.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3863, allocations: 4 kB / 0.522 GB, free: 33.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004113/0.3867, allocations: 193.3 kB / 0.5222 GB, free: 33.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3868, allocations: 88.36 kB / 0.5223 GB, free: 33.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/0.3877, allocations: 1.026 MB / 0.5233 GB, free: 32.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3877, allocations: 25.7 kB / 0.5233 GB, free: 32.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3878, allocations: 231.1 kB / 0.5235 GB, free: 32.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.3878, allocations: 28.8 kB / 0.5235 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3879, allocations: 4 kB / 0.5235 GB, free: 32.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.3879, allocations: 371.9 kB / 0.5239 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.388, allocations: 29.66 kB / 0.5239 GB, free: 32.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.3881, allocations: 55.53 kB / 0.524 GB, free: 32.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3883, allocations: 90.73 kB / 0.5241 GB, free: 32.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3883, allocations: 2.969 kB / 0.5241 GB, free: 32.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000238/0.3885, allocations: 166.6 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3885, allocations: 8.5 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3885, allocations: 3.125 kB / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3886, allocations: 0 / 0.5242 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3887, allocations: 24.62 kB / 0.5243 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.3887, allocations: 2.656 kB / 0.5243 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.3888, allocations: 21.23 kB / 0.5243 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/0.3888, allocations: 2.469 kB / 0.5243 GB, free: 31.92 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001576/0.389, allocations: 221.5 kB / 0.5245 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.389, allocations: 50.22 kB / 0.5245 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.3891, allocations: 60.67 kB / 0.5246 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.3891, allocations: 3.984 kB / 0.5246 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3891, allocations: 2.469 kB / 0.5246 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3891, allocations: 0 / 0.5246 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3894, allocations: 347.9 kB / 0.5249 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3894, allocations: 7.938 kB / 0.5249 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.3894, allocations: 11.44 kB / 0.525 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3894, allocations: 0 / 0.525 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3894, allocations: 2.75 kB / 0.525 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3894, allocations: 0 / 0.525 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3894, allocations: 0 / 0.525 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3897, allocations: 211.2 kB / 0.5252 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.3898, allocations: 144.6 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3899, allocations: 6.375 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.3899, allocations: 8.359 kB / 0.5253 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.39, allocations: 9.625 kB / 0.5253 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.39, allocations: 9.375 kB / 0.5253 GB, free: 31.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000623/0.3906, allocations: 0.7603 MB / 0.5261 GB, free: 30.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 0 / 0.5261 GB, free: 30.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00024/0.3909, allocations: 44.19 kB / 0.5261 GB, free: 30.92 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0008099/0.3917, allocations: 404.3 kB / 0.5265 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.3919, allocations: 83.56 kB / 0.5266 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3919, allocations: 2.656 kB / 0.5266 GB, free: 30.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.392, allocations: 35.11 kB / 0.5266 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3924, allocations: 67.72 kB / 0.5267 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3935, allocations: 0.9595 MB / 0.5276 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.3937, allocations: 0.8423 MB / 0.5284 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.3938, allocations: 29.12 kB / 0.5285 GB, free: 29.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3938, allocations: 0 / 0.5285 GB, free: 29.45 MB / 378.7 MB Notification: Performance of Templates: time 0.006524/0.4003, allocations: 4.972 MB / 0.5333 GB, free: 28.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches