Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test37",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.01/0.01, allocations: 166.5 kB / 15.11 MB, free: 5.93 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.781/1.781, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002005/0.002005, allocations: 103.4 kB / 226.2 MB, free: 10.11 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.442/0.442, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004779, allocations: 16 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.535, allocations: 75.7 MB / 487.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.5354, allocations: 75.2 kB / 487.5 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.5606, allocations: 3.84 MB / 491.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5606, allocations: 0 / 491.3 MB, free: 8.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.5607, allocations: 0 / 491.3 MB, free: 8.445 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006406/0.5613, allocations: 423.3 kB / 491.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.982e-05/0.5615, allocations: 8.031 kB / 491.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.038e-05/0.5616, allocations: 30.56 kB / 491.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.5617, allocations: 11.78 kB / 491.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.5623, allocations: 193.9 kB / 492 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.5623, allocations: 7.938 kB / 492 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.5623, allocations: 4 kB / 492 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5624, allocations: 45.55 kB / 492 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5625, allocations: 0 / 492 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.5625, allocations: 1.031 kB / 492 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.5625, allocations: 0 / 492 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.5626, allocations: 8 kB / 492 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5627, allocations: 185.7 kB / 492.2 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.5628, allocations: 34.45 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5628, allocations: 0 / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.563, allocations: 59.08 kB / 492.3 MB, free: 7.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.563, allocations: 4.562 kB / 492.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002283/0.5632, allocations: 61.03 kB / 492.4 MB, free: 7.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5633, allocations: 59.39 kB / 492.4 MB, free: 7.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.5635, allocations: 156.6 kB / 492.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.5635, allocations: 37.39 kB / 492.6 MB, free: 7.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.5635, allocations: 92.02 kB / 492.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.5636, allocations: 10.84 kB / 492.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5636, allocations: 0 / 492.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.5637, allocations: 326.3 kB / 493 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.5637, allocations: 19.86 kB / 493 MB, free: 6.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-05/0.5638, allocations: 19.88 kB / 493.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.5639, allocations: 49.31 kB / 493.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5639, allocations: 0 / 493.1 MB, free: 6.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002057/0.5641, allocations: 113.9 kB / 493.2 MB, free: 6.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.5642, allocations: 41.5 kB / 493.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5642, allocations: 0 / 493.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5642, allocations: 0 / 493.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.5643, allocations: 8.125 kB / 493.3 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5643, allocations: 7.938 kB / 493.3 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.5644, allocations: 7.906 kB / 493.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5644, allocations: 0 / 493.3 MB, free: 6.34 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 (5): * Single equations (assignments): 4 * 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.957e-05/0.5645, allocations: 126.7 kB / 493.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.5645, allocations: 7.906 kB / 493.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.5647, allocations: 81.72 kB / 493.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5647, allocations: 0 / 493.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5648, allocations: 0 / 493.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.5648, allocations: 0 / 493.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.5649, allocations: 185.3 kB / 493.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5649, allocations: 0 / 493.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.565, allocations: 0 / 493.7 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.565, allocations: 7.938 kB / 493.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.565, allocations: 7.922 kB / 493.7 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.565, allocations: 0 / 493.7 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.565, allocations: 5.5 kB / 493.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.5652, allocations: 88.48 kB / 493.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.5652, allocations: 89 kB / 493.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.5653, allocations: 0 / 493.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.5653, allocations: 7.875 kB / 493.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.5654, allocations: 0 / 493.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.5654, allocations: 4 kB / 493.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001179/0.5655, allocations: 135.3 kB / 494 MB, free: 5.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5655, allocations: 0 / 494 MB, free: 5.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000308/0.5658, allocations: 31.94 kB / 494 MB, free: 5.531 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 (4): * Single equations (assignments): 3 * 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.001123/0.567, allocations: 0.8431 MB / 494.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5672, allocations: 98.77 kB / 495 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5672, allocations: 4 kB / 495 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.877e-05/0.5673, allocations: 19.8 kB / 495 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5676, allocations: 15.67 kB / 495 MB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.5682, allocations: 416.6 kB / 495.4 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.5684, allocations: 0.6997 MB / 496.1 MB, free: 3.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.5684, allocations: 8.188 kB / 496.1 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.5685, allocations: 26.86 kB / 496.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5685, allocations: 0 / 496.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.5926, allocations: 2.375 MB / 498.5 MB, free: 1.102 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.593, allocations: 217.9 kB / 498.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/3.07, allocations: 0 / 498.8 MB, free: 0.8555 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat