Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test60",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.01036/0.01036, allocations: 175.4 kB / 15.12 MB, free: 6.051 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.077/2.077, allocations: 194.5 MB / 210.3 MB, free: 8.773 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.002052/0.002052, allocations: 112.6 kB / 255.6 MB, free: 11.39 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.2673/0.2673, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000643/0.0006431, allocations: 13.09 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1046, allocations: 54.89 MB / 461.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.2582, allocations: 82.35 MB / 0.5308 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.2586, allocations: 79.95 kB / 0.5308 GB, free: 0.7891 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.3179/0.5765, allocations: 5.173 MB / 0.5359 GB, free: 83.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5765, allocations: 0 / 0.5359 GB, free: 83.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.5766, allocations: 1.156 kB / 0.5359 GB, free: 83.05 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.0006795/0.5773, allocations: 470.9 kB / 0.5363 GB, free: 82.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.5773, allocations: 9.438 kB / 0.5364 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.5774, allocations: 38.38 kB / 0.5364 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.5775, allocations: 7.719 kB / 0.5364 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.5778, allocations: 199.1 kB / 0.5366 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5779, allocations: 6.656 kB / 0.5366 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.5779, allocations: 11.17 kB / 0.5366 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.5782, allocations: 69.14 kB / 0.5367 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5782, allocations: 2.016 kB / 0.5367 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5782, allocations: 7.953 kB / 0.5367 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5782, allocations: 0.9062 kB / 0.5367 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.5784, allocations: 21.78 kB / 0.5367 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.5789, allocations: 294.1 kB / 0.537 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.5792, allocations: 60.91 kB / 0.537 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5792, allocations: 7.156 kB / 0.537 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.5795, allocations: 69.59 kB / 0.5371 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.515e-06/0.5795, allocations: 0 / 0.5371 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009111/0.5804, allocations: 178.4 kB / 0.5373 GB, free: 81.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.5805, allocations: 80.22 kB / 0.5374 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.5807, allocations: 136.9 kB / 0.5375 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5807, allocations: 28.52 kB / 0.5375 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.5808, allocations: 96.03 kB / 0.5376 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.5808, allocations: 31.44 kB / 0.5376 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.5809, allocations: 1.281 kB / 0.5376 GB, free: 81.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.5809, allocations: 327.5 kB / 0.538 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.5811, allocations: 32.23 kB / 0.538 GB, free: 81.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.5812, allocations: 52.31 kB / 0.538 GB, free: 81.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.5814, allocations: 74.92 kB / 0.5381 GB, free: 81.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5814, allocations: 0 / 0.5381 GB, free: 81.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004411/0.5819, allocations: 161.2 kB / 0.5383 GB, free: 81.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.582, allocations: 37.86 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.582, allocations: 1.797 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.582, allocations: 0.9375 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5822, allocations: 20.83 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5822, allocations: 0 / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5823, allocations: 5.109 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.5824, allocations: 12.16 kB / 0.5383 GB, free: 81.07 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.0001353/0.5825, allocations: 122.7 kB / 0.5384 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.5826, allocations: 17.89 kB / 0.5385 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.583, allocations: 121.6 kB / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5831, allocations: 1.281 kB / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5831, allocations: 0 / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.5831, allocations: 1.531 kB / 0.5386 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.5838, allocations: 417.4 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5838, allocations: 0.5156 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.5839, allocations: 10.72 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5839, allocations: 1.469 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.584, allocations: 1.859 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.584, allocations: 2.344 kB / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.584, allocations: 0 / 0.539 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.5844, allocations: 230.6 kB / 0.5392 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.5845, allocations: 96.17 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.5845, allocations: 1.062 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.5847, allocations: 4.609 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.5847, allocations: 9.766 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.5848, allocations: 3.953 kB / 0.5393 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.5849, allocations: 127.4 kB / 0.5395 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5849, allocations: 0 / 0.5395 GB, free: 80.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004779/0.5854, allocations: 43.69 kB / 0.5395 GB, free: 80.21 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.002136/0.5876, allocations: 1.251 MB / 0.5407 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.5882, allocations: 150.8 kB / 0.5409 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5882, allocations: 5.062 kB / 0.5409 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.5884, allocations: 31.02 kB / 0.5409 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.5888, allocations: 25.12 kB / 0.5409 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.5899, allocations: 0.5954 MB / 0.5415 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.5901, allocations: 0.7016 MB / 0.5422 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.5903, allocations: 16.77 kB / 0.5422 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5904, allocations: 30.88 kB / 0.5422 GB, free: 77.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.5904, allocations: 1.5 kB / 0.5422 GB, free: 77.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.6212, allocations: 3.097 MB / 0.5453 GB, free: 76.85 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.6216, allocations: 209.1 kB / 0.5455 GB, free: 76.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/3.081, allocations: 7.938 kB / 0.5455 GB, free: 76.61 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat