Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001423, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2254/0.2254, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 79.81 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.329, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003131/0.3322, allocations: 1.598 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3333, allocations: 0.5381 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3333, allocations: 1.062 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3336, allocations: 25.44 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.3338, allocations: 84.56 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.3342, allocations: 114.1 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3343, allocations: 57.53 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.3344, allocations: 11.42 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.3345, allocations: 28.14 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.3346, allocations: 30.92 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3346, allocations: 2.594 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.093e-05/0.3347, allocations: 36.27 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.3347, allocations: 17.55 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3348, allocations: 23.67 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.335, allocations: 77.45 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.335, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.335, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.335, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006105/0.3356, allocations: 406.4 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3357, allocations: 9.312 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.3357, allocations: 30.75 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.3358, allocations: 9.203 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.336, allocations: 194 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.336, allocations: 1.688 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.336, allocations: 1.688 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3362, allocations: 56.95 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3362, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3362, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3363, allocations: 5.219 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3364, allocations: 25.55 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.3369, allocations: 288.3 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3371, allocations: 45.84 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.3372, allocations: 15.81 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.3372, allocations: 4 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3373, allocations: 35.88 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3373, allocations: 0 / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006092/0.3379, allocations: 151.4 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.338, allocations: 52.78 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3382, allocations: 171 kB / 0.5346 GB, free: 9.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3382, allocations: 25.7 kB / 0.5347 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.3383, allocations: 96.25 kB / 0.5348 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.3383, allocations: 22.55 kB / 0.5348 GB, free: 9.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.3384, allocations: 13.84 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3386, allocations: 321.6 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.756e-05/0.3387, allocations: 18.98 kB / 0.5351 GB, free: 9.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.3387, allocations: 24.55 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3389, allocations: 60.31 kB / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3389, allocations: 0 / 0.5352 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002185/0.3391, allocations: 86.56 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3392, allocations: 5.5 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3392, allocations: 1.375 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3392, allocations: 3.938 kB / 0.5353 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.3393, allocations: 17.61 kB / 0.5353 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3393, allocations: 5.312 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3393, allocations: 6.734 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3393, allocations: 1.375 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.3395, allocations: 119.3 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3395, allocations: 8.078 kB / 0.5354 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3398, allocations: 105.6 kB / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3398, allocations: 4 kB / 0.5355 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3398, allocations: 5.312 kB / 0.5355 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3398, allocations: 288 / 0.5355 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.3403, allocations: 352.1 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3403, allocations: 1.375 kB / 0.5359 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.3404, allocations: 13.61 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.3404, allocations: 7.922 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3404, allocations: 1.562 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.3404, allocations: 8 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3404, allocations: 3.938 kB / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3407, allocations: 179.6 kB / 0.5361 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3408, allocations: 82.53 kB / 0.5362 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3408, allocations: 9.406 kB / 0.5362 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.3409, allocations: 7.016 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.3409, allocations: 6.531 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3409, allocations: 0.9062 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3411, allocations: 127.2 kB / 0.5363 GB, free: 8.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3411, allocations: 0 / 0.5363 GB, free: 8.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3413, allocations: 22.47 kB / 0.5363 GB, free: 8.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001999/0.3433, allocations: 1.019 MB / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3436, allocations: 47.81 kB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3436, allocations: 0 / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.3437, allocations: 28.8 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3441, allocations: 16.89 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3462, allocations: 1.495 MB / 0.5389 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3467, allocations: 0.6964 MB / 0.5396 GB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.054e-05/0.3467, allocations: 17.06 kB / 0.5396 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.3468, allocations: 27.42 kB / 0.5396 GB, free: 5.418 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3468, allocations: 4 kB / 0.5396 GB, free: 5.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.3703, allocations: 2.629 MB / 0.5422 GB, free: 3.949 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.508, allocations: 7.594 kB / 0.5422 GB, free: 3.945 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1)