Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01418/0.01418, allocations: 175.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.122/2.122, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001981/0.001981, allocations: 116.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2501/0.2501, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 12.47 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09875, allocations: 54.88 MB / 461.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.2544, allocations: 82.16 MB / 0.5306 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.2547, allocations: 67.97 kB / 0.5306 GB, free: 0.8945 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3161/0.5708, allocations: 4.662 MB / 0.5352 GB, free: 82.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5708, allocations: 1.703 kB / 0.5352 GB, free: 82.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5708, allocations: 1.062 kB / 0.5352 GB, free: 82.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006487/0.5715, allocations: 486.8 kB / 0.5357 GB, free: 82.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5716, allocations: 10.92 kB / 0.5357 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.5716, allocations: 35.22 kB / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.5717, allocations: 10.36 kB / 0.5357 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.572, allocations: 209.7 kB / 0.5359 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5721, allocations: 2.844 kB / 0.5359 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.5721, allocations: 7.109 kB / 0.5359 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.5723, allocations: 55.83 kB / 0.536 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5724, allocations: 5.062 kB / 0.536 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5724, allocations: 3.953 kB / 0.536 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.5724, allocations: 1.281 kB / 0.536 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.5725, allocations: 23.22 kB / 0.536 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.573, allocations: 315.2 kB / 0.5363 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.5733, allocations: 62.56 kB / 0.5364 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5733, allocations: 5.578 kB / 0.5364 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.5735, allocations: 70.78 kB / 0.5364 GB, free: 81.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.5735, allocations: 0 / 0.5364 GB, free: 81.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008216/0.5744, allocations: 189.2 kB / 0.5366 GB, free: 81.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.5744, allocations: 53.08 kB / 0.5367 GB, free: 81.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.5747, allocations: 172.6 kB / 0.5368 GB, free: 81.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.5747, allocations: 35.2 kB / 0.5369 GB, free: 81.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.5748, allocations: 97.75 kB / 0.537 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.5748, allocations: 26.77 kB / 0.537 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.5749, allocations: 2.094 kB / 0.537 GB, free: 81.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.575, allocations: 330.3 kB / 0.5373 GB, free: 80.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.5751, allocations: 34.83 kB / 0.5373 GB, free: 80.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5753, allocations: 55.91 kB / 0.5374 GB, free: 80.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.5755, allocations: 74.78 kB / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5755, allocations: 0 / 0.5375 GB, free: 80.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004634/0.576, allocations: 184.2 kB / 0.5376 GB, free: 80.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.576, allocations: 39.34 kB / 0.5377 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5761, allocations: 0.5625 kB / 0.5377 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5761, allocations: 1.281 kB / 0.5377 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5762, allocations: 16.06 kB / 0.5377 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.5763, allocations: 0.8906 kB / 0.5377 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5764, allocations: 6.109 kB / 0.5377 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.5764, allocations: 12.12 kB / 0.5377 GB, free: 80.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001325/0.5765, allocations: 134.6 kB / 0.5378 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.5766, allocations: 17.47 kB / 0.5379 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.577, allocations: 122.8 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.577, allocations: 0.9375 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.577, allocations: 0.9375 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.577, allocations: 2.172 kB / 0.538 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.5777, allocations: 423.2 kB / 0.5384 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.5777, allocations: 4.969 kB / 0.5384 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.5778, allocations: 18.36 kB / 0.5384 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5778, allocations: 0.75 kB / 0.5384 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5779, allocations: 3.438 kB / 0.5384 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5779, allocations: 0 / 0.5384 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5779, allocations: 1.734 kB / 0.5384 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.5782, allocations: 226.8 kB / 0.5386 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.5783, allocations: 99.5 kB / 0.5387 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.5784, allocations: 6.875 kB / 0.5387 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5785, allocations: 3.812 kB / 0.5387 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.5786, allocations: 5.047 kB / 0.5387 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.5786, allocations: 4.328 kB / 0.5387 GB, free: 79.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.5788, allocations: 150.8 kB / 0.5389 GB, free: 79.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5788, allocations: 0 / 0.5389 GB, free: 79.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00044/0.5792, allocations: 44.98 kB / 0.5389 GB, free: 79.86 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001693/0.5809, allocations: 1.156 MB / 0.5401 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.5814, allocations: 170.6 kB / 0.5402 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5814, allocations: 1.094 kB / 0.5402 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.5816, allocations: 37.28 kB / 0.5403 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.5819, allocations: 20.45 kB / 0.5403 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.5829, allocations: 0.6479 MB / 0.5409 GB, free: 78.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.5831, allocations: 0.7104 MB / 0.5416 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.279e-05/0.5833, allocations: 12.27 kB / 0.5416 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.585e-05/0.5834, allocations: 36.34 kB / 0.5416 GB, free: 77.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.5834, allocations: 0 / 0.5416 GB, free: 77.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.6079, allocations: 3.058 MB / 0.5446 GB, free: 76.76 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.6083, allocations: 215.3 kB / 0.5448 GB, free: 76.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.031, allocations: 1.375 kB / 0.5448 GB, free: 76.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat