Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test28",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.009767/0.009767, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.69/1.69, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001956/0.001956, allocations: 114.3 kB / 226.2 MB, free: 10.1 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.513/0.513, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 15.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.4932, allocations: 75.83 MB / 487.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4935, allocations: 70.28 kB / 487.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.5083, allocations: 3.938 MB / 491.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5083, allocations: 0 / 491.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.5083, allocations: 0 / 491.5 MB, free: 8.562 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.0004477/0.5088, allocations: 434.1 kB / 492 MB, free: 8.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5088, allocations: 8.031 kB / 492 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.5089, allocations: 34.5 kB / 492 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.5089, allocations: 7.906 kB / 492 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.5092, allocations: 198 kB / 492.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.5092, allocations: 3.938 kB / 492.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.5092, allocations: 4 kB / 492.2 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5094, allocations: 48.3 kB / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5094, allocations: 0 / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5094, allocations: 1.031 kB / 492.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.5094, allocations: 3.984 kB / 492.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.5095, allocations: 19.36 kB / 492.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.5099, allocations: 289.9 kB / 492.6 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.5101, allocations: 44.44 kB / 492.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.5101, allocations: 3.984 kB / 492.6 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.5103, allocations: 65.39 kB / 492.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.5103, allocations: 0 / 492.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004305/0.5107, allocations: 123.2 kB / 492.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.5108, allocations: 55.41 kB / 492.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.5109, allocations: 169.8 kB / 493 MB, free: 6.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.511, allocations: 29.7 kB / 493 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.511, allocations: 94.83 kB / 493.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.511, allocations: 14.86 kB / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.5111, allocations: 4 kB / 493.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.5111, allocations: 318.3 kB / 493.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-05/0.5112, allocations: 18.94 kB / 493.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.5113, allocations: 27.67 kB / 493.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.5114, allocations: 59.45 kB / 493.6 MB, free: 6.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5114, allocations: 0 / 493.6 MB, free: 6.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002305/0.5116, allocations: 127.3 kB / 493.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5117, allocations: 33.7 kB / 493.7 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5117, allocations: 4.047 kB / 493.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5117, allocations: 4 kB / 493.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.5118, allocations: 11.94 kB / 493.7 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5118, allocations: 3.953 kB / 493.7 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.5119, allocations: 4 kB / 493.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5119, allocations: 10.88 kB / 493.8 MB, free: 6.25 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 8.5e-05/0.512, allocations: 122.8 kB / 493.9 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.512, allocations: 7.906 kB / 493.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.5123, allocations: 90.44 kB / 494 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5123, allocations: 0 / 494 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5123, allocations: 0 / 494 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5123, allocations: 4.609 kB / 494 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.5127, allocations: 363.8 kB / 494.3 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5127, allocations: 0 / 494.3 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.5127, allocations: 8 kB / 494.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5127, allocations: 0 / 494.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5128, allocations: 0 / 494.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.5128, allocations: 3.953 kB / 494.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5128, allocations: 96 / 494.3 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.513, allocations: 183.9 kB / 494.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.513, allocations: 89.02 kB / 494.6 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.5131, allocations: 4 kB / 494.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.5132, allocations: 0 / 494.6 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.5132, allocations: 15.38 kB / 494.6 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.5132, allocations: 4.125 kB / 494.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.5134, allocations: 129.2 kB / 494.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5134, allocations: 0 / 494.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.5137, allocations: 35.3 kB / 494.8 MB, free: 5.191 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.001196/0.5149, allocations: 0.9803 MB / 495.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.5152, allocations: 105.2 kB / 495.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5152, allocations: 0 / 495.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.5153, allocations: 26.92 kB / 495.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.5155, allocations: 19.5 kB / 495.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.5163, allocations: 436.3 kB / 496.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.5165, allocations: 0.7041 MB / 497.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.5165, allocations: 11.98 kB / 497.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.5166, allocations: 20.44 kB / 497.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5166, allocations: 0 / 497.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.5378, allocations: 2.64 MB / 499.7 MB, free: 352 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.538, allocations: 209.4 kB / 499.9 MB, free: 112 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.008, allocations: 7.938 kB / 499.9 MB, free: 104 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat