Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.00126, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4778, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00383/0.4817, allocations: 1.835 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.484, allocations: 1.088 MB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.4841, allocations: 5.062 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.4847, allocations: 295 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.4854, allocations: 260.9 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.4857, allocations: 105.8 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.486, allocations: 260.2 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.4861, allocations: 10.62 kB / 0.5348 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.4863, allocations: 128.2 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.4867, allocations: 192.8 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.4867, allocations: 7.188 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.4868, allocations: 46.92 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.4871, allocations: 141.6 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.4873, allocations: 150.5 kB / 0.5354 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.4878, allocations: 370.1 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4878, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4878, allocations: 1.062 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.4878, allocations: 3.938 kB / 0.5358 GB, free: 10.2 MB / 398.1 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.001101/0.4889, allocations: 0.7183 MB / 0.5365 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.489, allocations: 14.06 kB / 0.5365 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4891, allocations: 49.44 kB / 0.5366 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007339/0.4898, allocations: 449 kB / 0.537 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4899, allocations: 6.906 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4899, allocations: 10.92 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.4901, allocations: 84.08 kB / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.4901, allocations: 0 / 0.5371 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4902, allocations: 4.938 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4902, allocations: 0.9062 kB / 0.5371 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.4903, allocations: 36.12 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.4908, allocations: 375.8 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.4911, allocations: 105 kB / 0.5376 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4912, allocations: 45.61 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.4912, allocations: 1.125 kB / 0.5376 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.4915, allocations: 116.8 kB / 0.5377 GB, free: 8.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.4915, allocations: 0 / 0.5377 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000533/0.492, allocations: 200.8 kB / 0.5379 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.4921, allocations: 83.27 kB / 0.538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.4934, allocations: 1.027 MB / 0.539 GB, free: 7.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4935, allocations: 30.73 kB / 0.539 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.4937, allocations: 234.3 kB / 0.5393 GB, free: 7.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.4937, allocations: 20.03 kB / 0.5393 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.4938, allocations: 30.95 kB / 0.5393 GB, free: 7.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.494, allocations: 365.8 kB / 0.5397 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.4941, allocations: 29.98 kB / 0.5397 GB, free: 7.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.4942, allocations: 63.06 kB / 0.5398 GB, free: 7.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.4944, allocations: 86.17 kB / 0.5398 GB, free: 7.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4944, allocations: 1 kB / 0.5398 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003391/0.4948, allocations: 174 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4948, allocations: 5.688 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4948, allocations: 1.219 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.4948, allocations: 1.125 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.495, allocations: 26.64 kB / 0.54 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.495, allocations: 1.125 kB / 0.54 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4951, allocations: 16.53 kB / 0.54 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.4952, allocations: 3.375 kB / 0.5401 GB, free: 6.941 MB / 398.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.4955, allocations: 232.5 kB / 0.5403 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.4955, allocations: 45.81 kB / 0.5403 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.4957, allocations: 62.73 kB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4957, allocations: 1.062 kB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4957, allocations: 1.281 kB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4957, allocations: 1.062 kB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.4961, allocations: 351.9 kB / 0.5407 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4961, allocations: 5.188 kB / 0.5407 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.4962, allocations: 9.922 kB / 0.5407 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4962, allocations: 5.219 kB / 0.5407 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4962, allocations: 2.406 kB / 0.5407 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4962, allocations: 5.219 kB / 0.5407 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4962, allocations: 0 / 0.5407 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.4966, allocations: 204.2 kB / 0.5409 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4968, allocations: 138.2 kB / 0.5411 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.4968, allocations: 5.484 kB / 0.5411 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.4969, allocations: 12.28 kB / 0.5411 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.497, allocations: 8.422 kB / 0.5411 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.497, allocations: 4.375 kB / 0.5411 GB, free: 6.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009951/0.498, allocations: 0.7599 MB / 0.5418 GB, free: 5.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.498, allocations: 0 / 0.5418 GB, free: 5.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.4983, allocations: 44.58 kB / 0.5419 GB, free: 5.738 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.4995, allocations: 408.2 kB / 0.5423 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.4997, allocations: 82.53 kB / 0.5424 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4997, allocations: 1.438 kB / 0.5424 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4999, allocations: 46.14 kB / 0.5424 GB, free: 5.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.5004, allocations: 62.22 kB / 0.5425 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.502, allocations: 0.8566 MB / 0.5433 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.5025, allocations: 0.8504 MB / 0.5441 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.5026, allocations: 62.88 kB / 0.5442 GB, free: 3.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.5027, allocations: 31.42 kB / 0.5442 GB, free: 3.906 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5027, allocations: 0 / 0.5442 GB, free: 3.906 MB / 398.1 MB Notification: Performance of Templates: time 0.008383/0.5111, allocations: 3.83 MB / 0.548 GB, free: 96 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches