Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 118.8 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.001632/0.001632, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 76.16 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.435, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003835/0.4389, allocations: 1.827 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.4409, allocations: 1.093 MB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.441, allocations: 5.312 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.4417, allocations: 300 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.4422, allocations: 263.1 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.4425, allocations: 108.8 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.4429, allocations: 259.5 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.443, allocations: 18.75 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.4432, allocations: 132.6 kB / 0.5349 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.4435, allocations: 192.9 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.4435, allocations: 6.469 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.4437, allocations: 47.33 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.4439, allocations: 149.8 kB / 0.5353 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.444, allocations: 147.6 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.4445, allocations: 380.8 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4445, allocations: 0 / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4445, allocations: 1.125 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4446, allocations: 0 / 0.5358 GB, free: 10.18 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.001052/0.4456, allocations: 0.7412 MB / 0.5365 GB, free: 9.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4457, allocations: 13.81 kB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.4458, allocations: 49.84 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.4466, allocations: 456.1 kB / 0.537 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.4466, allocations: 10.55 kB / 0.537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.4467, allocations: 7.281 kB / 0.5371 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.4469, allocations: 87.23 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4469, allocations: 1.312 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.447, allocations: 0 / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.447, allocations: 5.172 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.4471, allocations: 28.08 kB / 0.5372 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.4477, allocations: 382.4 kB / 0.5375 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.4481, allocations: 105 kB / 0.5376 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.4482, allocations: 46.08 kB / 0.5377 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.4482, allocations: 5.203 kB / 0.5377 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.4485, allocations: 107.8 kB / 0.5378 GB, free: 8.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.4485, allocations: 1.188 kB / 0.5378 GB, free: 8.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005968/0.4491, allocations: 205.6 kB / 0.538 GB, free: 8.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.4492, allocations: 86.45 kB / 0.5381 GB, free: 8.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.4508, allocations: 1.049 MB / 0.5391 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4509, allocations: 31.11 kB / 0.5391 GB, free: 7.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.4511, allocations: 233.2 kB / 0.5393 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.4512, allocations: 41.34 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.4513, allocations: 25.62 kB / 0.5394 GB, free: 7.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.4515, allocations: 370.5 kB / 0.5398 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.4516, allocations: 31.36 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4517, allocations: 58.3 kB / 0.5398 GB, free: 7.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.4519, allocations: 89.22 kB / 0.5399 GB, free: 7.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4519, allocations: 1.125 kB / 0.5399 GB, free: 7.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003377/0.4523, allocations: 175.1 kB / 0.5401 GB, free: 6.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4523, allocations: 4.594 kB / 0.5401 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4523, allocations: 1.125 kB / 0.5401 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4524, allocations: 6.609 kB / 0.5401 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4525, allocations: 18.03 kB / 0.5401 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4525, allocations: 1.312 kB / 0.5401 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.4526, allocations: 11.52 kB / 0.5401 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.4526, allocations: 6.062 kB / 0.5401 GB, free: 6.887 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.0002468/0.4529, allocations: 236.3 kB / 0.5404 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.453, allocations: 51.97 kB / 0.5404 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.4531, allocations: 58.3 kB / 0.5405 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4531, allocations: 1.781 kB / 0.5405 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4531, allocations: 1.312 kB / 0.5405 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4531, allocations: 0 / 0.5405 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.4535, allocations: 350 kB / 0.5408 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4535, allocations: 1.125 kB / 0.5408 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.4536, allocations: 10.58 kB / 0.5408 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4536, allocations: 5.281 kB / 0.5408 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.4536, allocations: 6.156 kB / 0.5408 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4536, allocations: 1.094 kB / 0.5408 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4536, allocations: 0 / 0.5408 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.454, allocations: 201.4 kB / 0.541 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.4541, allocations: 138.4 kB / 0.5412 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.4542, allocations: 10.17 kB / 0.5412 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.4543, allocations: 7.438 kB / 0.5412 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.4543, allocations: 11.58 kB / 0.5412 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.4543, allocations: 8.562 kB / 0.5412 GB, free: 6.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.4554, allocations: 0.7846 MB / 0.542 GB, free: 5.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4554, allocations: 1.125 kB / 0.542 GB, free: 5.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.4557, allocations: 49.08 kB / 0.542 GB, free: 5.668 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.001166/0.4569, allocations: 408 kB / 0.5424 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.4572, allocations: 74.47 kB / 0.5425 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4572, allocations: 0 / 0.5425 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4573, allocations: 44.08 kB / 0.5425 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.4578, allocations: 86.11 kB / 0.5426 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.4592, allocations: 0.8708 MB / 0.5434 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4597, allocations: 0.8542 MB / 0.5443 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.4599, allocations: 58.94 kB / 0.5443 GB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.46, allocations: 31.42 kB / 0.5444 GB, free: 3.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.46, allocations: 4 kB / 0.5444 GB, free: 3.758 MB / 398.1 MB Notification: Performance of Templates: time 0.00875/0.4687, allocations: 3.782 MB / 0.5481 GB, free: 15.99 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches