Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, 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.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 75.89 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4359, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003015/0.439, allocations: 1.84 MB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.4407, allocations: 1.087 MB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.4409, allocations: 5.312 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.4414, allocations: 295.9 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.442, allocations: 256.9 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.4422, allocations: 108.4 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.4426, allocations: 253 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.4426, allocations: 21.78 kB / 0.5348 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.4428, allocations: 125.3 kB / 0.5349 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.4431, allocations: 196.5 kB / 0.5351 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.4431, allocations: 7.375 kB / 0.5351 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.4432, allocations: 46.61 kB / 0.5352 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.4434, allocations: 129.2 kB / 0.5353 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.4436, allocations: 154.9 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.444, allocations: 374.1 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4441, allocations: 1.062 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4441, allocations: 0 / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4441, allocations: 0 / 0.5358 GB, free: 10.23 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.001013/0.4451, allocations: 0.7224 MB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4452, allocations: 10.69 kB / 0.5365 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.186e-05/0.4453, allocations: 52.84 kB / 0.5366 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008065/0.4461, allocations: 449.7 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4461, allocations: 9.469 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4461, allocations: 7.094 kB / 0.537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.4463, allocations: 84.67 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4464, allocations: 0 / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4464, allocations: 1.156 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4464, allocations: 1.125 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.4465, allocations: 34.97 kB / 0.5371 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.447, allocations: 376.1 kB / 0.5375 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.4473, allocations: 109.1 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.4474, allocations: 45.95 kB / 0.5376 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.4474, allocations: 1.062 kB / 0.5376 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.4476, allocations: 120.8 kB / 0.5377 GB, free: 8.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.4477, allocations: 0 / 0.5377 GB, free: 8.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005194/0.4482, allocations: 193.4 kB / 0.5379 GB, free: 8.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.4482, allocations: 85.92 kB / 0.538 GB, free: 8.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4494, allocations: 1.027 MB / 0.539 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4494, allocations: 32.14 kB / 0.539 GB, free: 7.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4496, allocations: 233.3 kB / 0.5393 GB, free: 7.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.4497, allocations: 20.34 kB / 0.5393 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.4497, allocations: 31.05 kB / 0.5393 GB, free: 7.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.45, allocations: 364.3 kB / 0.5397 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.4501, allocations: 32.3 kB / 0.5397 GB, free: 7.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.4502, allocations: 61.81 kB / 0.5397 GB, free: 7.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.4504, allocations: 89.92 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4504, allocations: 1.156 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003125/0.4507, allocations: 173.9 kB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4507, allocations: 5.375 kB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4507, allocations: 1.094 kB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4508, allocations: 2.188 kB / 0.54 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4509, allocations: 26.55 kB / 0.54 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4509, allocations: 1 kB / 0.54 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.451, allocations: 16.66 kB / 0.54 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.451, allocations: 3.844 kB / 0.5401 GB, free: 6.965 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.0002573/0.4513, allocations: 223.9 kB / 0.5403 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.4514, allocations: 50.56 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.4515, allocations: 65.34 kB / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4515, allocations: 2.375 kB / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4515, allocations: 0 / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4515, allocations: 1.25 kB / 0.5404 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.4519, allocations: 349.2 kB / 0.5407 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4519, allocations: 0 / 0.5407 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.452, allocations: 5.875 kB / 0.5407 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.452, allocations: 9.531 kB / 0.5407 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.452, allocations: 6.922 kB / 0.5407 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.452, allocations: 0 / 0.5407 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.452, allocations: 1.438 kB / 0.5407 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.4523, allocations: 204.3 kB / 0.5409 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.4525, allocations: 140.9 kB / 0.5411 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.4526, allocations: 2.531 kB / 0.5411 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.4527, allocations: 11.08 kB / 0.5411 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.4527, allocations: 12.05 kB / 0.5411 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4527, allocations: 4.969 kB / 0.5411 GB, free: 6.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008382/0.4536, allocations: 0.76 MB / 0.5418 GB, free: 5.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4536, allocations: 0 / 0.5418 GB, free: 5.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.4539, allocations: 45.33 kB / 0.5419 GB, free: 5.766 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.0009739/0.4549, allocations: 411.3 kB / 0.5423 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.4551, allocations: 82.25 kB / 0.5423 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4551, allocations: 0 / 0.5423 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4553, allocations: 40.06 kB / 0.5424 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.4557, allocations: 81.81 kB / 0.5425 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.457, allocations: 0.8605 MB / 0.5433 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4574, allocations: 0.8466 MB / 0.5441 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.4575, allocations: 50.97 kB / 0.5442 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.4576, allocations: 31.42 kB / 0.5442 GB, free: 3.969 MB / 398.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4576, allocations: 0 / 0.5442 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Templates: time 0.008114/0.4658, allocations: 3.834 MB / 0.548 GB, free: 152 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches