Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2636/0.2636, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 83.86 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4711, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003878/0.475, allocations: 1.825 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.477, allocations: 1.092 MB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.4771, allocations: 5.188 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.4778, allocations: 304.7 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005363/0.4783, allocations: 259.6 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.4787, allocations: 108.7 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.4791, allocations: 263.1 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.4791, allocations: 13.92 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.4793, allocations: 128 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.4796, allocations: 195.1 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.4796, allocations: 7.875 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.4798, allocations: 45.7 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.48, allocations: 142.7 kB / 0.5353 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.4802, allocations: 154.9 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.4807, allocations: 377.5 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4807, allocations: 1.094 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4807, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.4807, allocations: 0 / 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.0009989/0.4817, allocations: 0.7622 MB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4818, allocations: 9.656 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.071e-05/0.4819, allocations: 51.39 kB / 0.5366 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.4826, allocations: 468.8 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4826, allocations: 1.406 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4827, allocations: 7.875 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.483, allocations: 83.92 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.483, allocations: 0 / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.483, allocations: 1.25 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.483, allocations: 1.531 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4831, allocations: 35.86 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.4836, allocations: 385 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.4839, allocations: 105.4 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.484, allocations: 46.36 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.484, allocations: 1.969 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.4842, allocations: 115.2 kB / 0.5378 GB, free: 8.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.4843, allocations: 0 / 0.5378 GB, free: 8.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005001/0.4848, allocations: 198.1 kB / 0.538 GB, free: 8.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4848, allocations: 86.08 kB / 0.5381 GB, free: 8.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.486, allocations: 1.053 MB / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.486, allocations: 27.17 kB / 0.5392 GB, free: 7.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.4862, allocations: 238.6 kB / 0.5394 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.4863, allocations: 28.12 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.4863, allocations: 31.11 kB / 0.5394 GB, free: 7.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4865, allocations: 369.5 kB / 0.5398 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.4866, allocations: 31.89 kB / 0.5398 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.4867, allocations: 58.41 kB / 0.5399 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.4869, allocations: 86.14 kB / 0.54 GB, free: 7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4869, allocations: 5.062 kB / 0.54 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003343/0.4872, allocations: 179.4 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4873, allocations: 4.594 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4873, allocations: 2 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4873, allocations: 1.062 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4874, allocations: 30.3 kB / 0.5402 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4875, allocations: 5.422 kB / 0.5402 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.4876, allocations: 7.984 kB / 0.5402 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4876, allocations: 8.781 kB / 0.5402 GB, free: 6.863 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.0002524/0.4879, allocations: 228.9 kB / 0.5404 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.4879, allocations: 55.12 kB / 0.5405 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.746e-05/0.488, allocations: 62.92 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.488, allocations: 2.094 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4881, allocations: 0 / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4881, allocations: 5.047 kB / 0.5405 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.4885, allocations: 350.7 kB / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4885, allocations: 0 / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.4885, allocations: 6.906 kB / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4886, allocations: 9.094 kB / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4886, allocations: 2.25 kB / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4886, allocations: 1.281 kB / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4886, allocations: 0 / 0.5409 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.489, allocations: 213.3 kB / 0.5411 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.4891, allocations: 139.6 kB / 0.5412 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.4892, allocations: 5.375 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.4893, allocations: 7.797 kB / 0.5412 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.4894, allocations: 12.28 kB / 0.5412 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.4894, allocations: 12.64 kB / 0.5413 GB, free: 6.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00103/0.4904, allocations: 0.7799 MB / 0.542 GB, free: 5.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4904, allocations: 1.125 kB / 0.542 GB, free: 5.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.4908, allocations: 44.53 kB / 0.5421 GB, free: 5.641 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.001352/0.4921, allocations: 409.7 kB / 0.5424 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.4925, allocations: 83.48 kB / 0.5425 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4925, allocations: 0 / 0.5425 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4926, allocations: 35.05 kB / 0.5426 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.4931, allocations: 83 kB / 0.5426 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.4946, allocations: 0.881 MB / 0.5435 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.4951, allocations: 0.8505 MB / 0.5443 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.4953, allocations: 58.94 kB / 0.5444 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.4954, allocations: 35.36 kB / 0.5444 GB, free: 3.715 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4954, allocations: 0 / 0.5444 GB, free: 3.715 MB / 398.1 MB Notification: Performance of Templates: time 0.009324/0.5047, allocations: 3.782 MB / 0.5481 GB, free: 15.94 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches