Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 227.4 MB / 247 MB, free: 10.41 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.2397/0.2397, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002322/0.002322, allocations: 76.09 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3454, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003334/0.3488, allocations: 1.673 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3509, allocations: 1.187 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.351, allocations: 0 / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.3513, allocations: 33 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.3517, allocations: 88.98 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.3521, allocations: 178.2 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3523, allocations: 77.7 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3524, allocations: 26.72 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.3525, allocations: 31.33 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3526, allocations: 35.81 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3527, allocations: 5.094 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.3528, allocations: 100.3 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.3529, allocations: 22.8 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.353, allocations: 29.3 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.3533, allocations: 159.5 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3533, allocations: 0 / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3533, allocations: 0 / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.3533, allocations: 4 kB / 0.5342 GB, free: 10.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006061/0.3539, allocations: 423.7 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.354, allocations: 9.625 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.354, allocations: 32.12 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.3541, allocations: 9.016 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3543, allocations: 211.1 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.3543, allocations: 1.75 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3544, allocations: 3.125 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3546, allocations: 86.52 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3546, allocations: 1.375 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3546, allocations: 3.984 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3546, allocations: 1.375 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.3548, allocations: 37.95 kB / 0.535 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3552, allocations: 319.1 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3554, allocations: 45.81 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.3555, allocations: 29.3 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3555, allocations: 0 / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3555, allocations: 31.94 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3556, allocations: 0 / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008364/0.3564, allocations: 235.3 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3565, allocations: 78.48 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3567, allocations: 163.3 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.3568, allocations: 31.14 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3569, allocations: 103.6 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.357, allocations: 23.3 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3571, allocations: 23.27 kB / 0.536 GB, free: 8.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3573, allocations: 317.5 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3574, allocations: 41.8 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.3576, allocations: 58.06 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3579, allocations: 95.02 kB / 0.5365 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.358, allocations: 3.984 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003722/0.3583, allocations: 120.3 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3584, allocations: 9.906 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3584, allocations: 0 / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3584, allocations: 1.156 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3586, allocations: 22.72 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3586, allocations: 9.062 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.3587, allocations: 10.44 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.3587, allocations: 9.172 kB / 0.5367 GB, free: 8.355 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 (7): * Single equations (assignments): 7 * 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.0001566/0.3589, allocations: 119.7 kB / 0.5368 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.3589, allocations: 12.31 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.3594, allocations: 139 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3594, allocations: 1.25 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3595, allocations: 0 / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3595, allocations: 5.031 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.3603, allocations: 423.8 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3603, allocations: 0 / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-05/0.3604, allocations: 19.2 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3604, allocations: 0 / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3605, allocations: 5.406 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3605, allocations: 3.984 kB / 0.5374 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3605, allocations: 0 / 0.5374 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.3609, allocations: 224.3 kB / 0.5376 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.361, allocations: 84.25 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.3611, allocations: 8.906 kB / 0.5377 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3612, allocations: 9.984 kB / 0.5377 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/0.3613, allocations: 6.703 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3613, allocations: 2.156 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.3615, allocations: 128.3 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3615, allocations: 0 / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.3619, allocations: 38.94 kB / 0.5378 GB, free: 7.32 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 (7): * Single equations (assignments): 7 * 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.002599/0.3645, allocations: 1.152 MB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.3648, allocations: 92.38 kB / 0.539 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3648, allocations: 0 / 0.539 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.365, allocations: 52.97 kB / 0.5391 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3653, allocations: 15.64 kB / 0.5391 GB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.368, allocations: 1.634 MB / 0.5407 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3684, allocations: 0.7068 MB / 0.5414 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.3685, allocations: 32.19 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3686, allocations: 35.02 kB / 0.5415 GB, free: 4.191 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3686, allocations: 0.75 kB / 0.5415 GB, free: 4.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.3957, allocations: 3.605 MB / 0.545 GB, free: 2.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.598, allocations: 8.828 kB / 0.545 GB, free: 2.168 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1)