Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009561/0.009561, allocations: 164.7 kB / 15.11 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.679/1.679, allocations: 170.8 MB / 186.6 MB, free: 1.035 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001946/0.001946, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4282/0.4282, allocations: 38.06 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004769, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.489, allocations: 75.87 MB / 487.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4893, allocations: 69.84 kB / 487.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.5063, allocations: 4.373 MB / 492 MB, free: 8.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5063, allocations: 0 / 492 MB, free: 8.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.5063, allocations: 4 kB / 492 MB, free: 8.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005146/0.5069, allocations: 465.6 kB / 492.5 MB, free: 7.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5069, allocations: 12.03 kB / 492.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.507, allocations: 34.94 kB / 492.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.507, allocations: 11.91 kB / 492.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.5073, allocations: 218.1 kB / 492.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5073, allocations: 7.688 kB / 492.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.5074, allocations: 0 / 492.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.5075, allocations: 41.06 kB / 492.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5075, allocations: 4 kB / 492.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.5075, allocations: 0 / 492.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5075, allocations: 0 / 492.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.5076, allocations: 24.33 kB / 492.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.508, allocations: 315.1 kB / 493.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.5083, allocations: 38.38 kB / 493.2 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.5083, allocations: 0 / 493.2 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.5084, allocations: 66.98 kB / 493.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.5084, allocations: 0 / 493.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004579/0.5089, allocations: 131.1 kB / 493.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.509, allocations: 51.41 kB / 493.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.5093, allocations: 234.5 kB / 493.6 MB, free: 6.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5093, allocations: 33.64 kB / 493.7 MB, free: 6.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.5094, allocations: 109.6 kB / 493.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5094, allocations: 15.75 kB / 493.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.5094, allocations: 3.25 kB / 493.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.5095, allocations: 333.4 kB / 494.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.5096, allocations: 26.98 kB / 494.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.5096, allocations: 26.3 kB / 494.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.5097, allocations: 48.02 kB / 494.2 MB, free: 5.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5097, allocations: 0 / 494.2 MB, free: 5.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002469/0.51, allocations: 143.5 kB / 494.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.51, allocations: 37.08 kB / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5101, allocations: 0 / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5101, allocations: 0 / 494.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.5102, allocations: 11.98 kB / 494.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5102, allocations: 4 kB / 494.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.5103, allocations: 4 kB / 494.4 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5103, allocations: 3.953 kB / 494.4 MB, free: 5.637 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001031/0.5104, allocations: 134.4 kB / 494.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.5104, allocations: 11.91 kB / 494.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.5107, allocations: 103.6 kB / 494.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5107, allocations: 0 / 494.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5107, allocations: 0 / 494.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5107, allocations: 4 kB / 494.7 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.5112, allocations: 381.3 kB / 495 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5112, allocations: 0 / 495 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.5113, allocations: 4 kB / 495 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5113, allocations: 4 kB / 495 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.5113, allocations: 0 / 495 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5113, allocations: 4.031 kB / 495 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5113, allocations: 3.938 kB / 495 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.5115, allocations: 191.6 kB / 495.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.5116, allocations: 92.92 kB / 495.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.5116, allocations: 7.984 kB / 495.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.5117, allocations: 3.438 kB / 495.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.5118, allocations: 4 kB / 495.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5118, allocations: 0 / 495.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.512, allocations: 204.1 kB / 495.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.512, allocations: 0 / 495.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.5124, allocations: 42.62 kB / 495.6 MB, free: 4.473 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001211/0.5136, allocations: 0.9777 MB / 496.6 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.5139, allocations: 109.3 kB / 496.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5139, allocations: 0 / 496.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.514, allocations: 28.48 kB / 496.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.5143, allocations: 15.23 kB / 496.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.5152, allocations: 0.5388 MB / 497.2 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.5154, allocations: 0.7149 MB / 498 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.949e-05/0.5154, allocations: 23.3 kB / 498 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.5155, allocations: 36.17 kB / 498 MB, free: 2.102 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5156, allocations: 0 / 498 MB, free: 2.102 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.5412, allocations: 3.136 MB / 0.4894 GB, free: 15.01 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/0.5416, allocations: 216.1 kB / 0.4896 GB, free: 14.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.023, allocations: 0 / 0.4896 GB, free: 14.77 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat