Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 117.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.001457/0.001457, allocations: 200.6 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.437/1.437, allocations: 227.4 MB / 247 MB, free: 10.46 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.2238/0.2238, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.002242/0.002242, allocations: 83.81 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3473, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002897/0.3502, allocations: 1.689 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3512, allocations: 0.5721 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.3513, allocations: 0 / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3516, allocations: 74.2 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3519, allocations: 104.7 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.3523, allocations: 179.2 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3525, allocations: 100 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3526, allocations: 23.2 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.3526, allocations: 40.34 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3527, allocations: 56.5 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3528, allocations: 4.125 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.3529, allocations: 52.98 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.3529, allocations: 29.47 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.353, allocations: 43.98 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.3532, allocations: 121.8 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3532, allocations: 1.375 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3532, allocations: 0 / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3532, allocations: 0 / 0.5336 GB, free: 11.12 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005592/0.3538, allocations: 439.7 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3538, allocations: 9.625 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.3539, allocations: 40.06 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3539, allocations: 18.33 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.3541, allocations: 209.9 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3541, allocations: 1.75 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3542, allocations: 3 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.3544, allocations: 81.44 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3544, allocations: 0 / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3544, allocations: 1.438 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3544, allocations: 1.594 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3546, allocations: 44.69 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.355, allocations: 334.5 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3553, allocations: 56.05 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.3553, allocations: 30.59 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3554, allocations: 1.312 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3554, allocations: 31.84 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3554, allocations: 0 / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001482/0.3569, allocations: 439.3 kB / 0.5353 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.357, allocations: 56.41 kB / 0.5354 GB, free: 9.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3572, allocations: 218.8 kB / 0.5356 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3572, allocations: 31.08 kB / 0.5356 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.3573, allocations: 105.6 kB / 0.5357 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.3573, allocations: 37.19 kB / 0.5357 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.3574, allocations: 29.91 kB / 0.5358 GB, free: 9.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3575, allocations: 326.9 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3577, allocations: 52.84 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3578, allocations: 56.83 kB / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3581, allocations: 119.7 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3581, allocations: 1.219 kB / 0.5363 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000369/0.3585, allocations: 176.2 kB / 0.5365 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3585, allocations: 5.594 kB / 0.5365 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3585, allocations: 0 / 0.5365 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3585, allocations: 5.062 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3587, allocations: 28.55 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3587, allocations: 1.094 kB / 0.5365 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.3588, allocations: 10.33 kB / 0.5365 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3588, allocations: 6.188 kB / 0.5365 GB, free: 8.68 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 (11): * Single equations (assignments): 11 * 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.0001067/0.3589, allocations: 130.6 kB / 0.5366 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3589, allocations: 14.53 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.3594, allocations: 200.5 kB / 0.5368 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3594, allocations: 5.719 kB / 0.5368 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3594, allocations: 0 / 0.5368 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3594, allocations: 4.875 kB / 0.5369 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.3602, allocations: 0.5111 MB / 0.5373 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3602, allocations: 1.094 kB / 0.5374 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3603, allocations: 28.31 kB / 0.5374 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3603, allocations: 6.469 kB / 0.5374 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3603, allocations: 5.344 kB / 0.5374 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3603, allocations: 1.438 kB / 0.5374 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3603, allocations: 1 kB / 0.5374 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3608, allocations: 285.1 kB / 0.5377 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.3608, allocations: 89.36 kB / 0.5377 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3609, allocations: 10.05 kB / 0.5378 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.361, allocations: 7.281 kB / 0.5378 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.361, allocations: 12.5 kB / 0.5378 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.361, allocations: 7.531 kB / 0.5378 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3612, allocations: 169.1 kB / 0.5379 GB, free: 7.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3612, allocations: 3.938 kB / 0.5379 GB, free: 7.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3615, allocations: 31.28 kB / 0.538 GB, free: 7.457 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002242/0.3637, allocations: 1.152 MB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.3641, allocations: 132.6 kB / 0.5392 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3641, allocations: 0 / 0.5392 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3643, allocations: 71.02 kB / 0.5393 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3647, allocations: 28.45 kB / 0.5393 GB, free: 6.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3673, allocations: 1.976 MB / 0.5413 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3677, allocations: 0.7293 MB / 0.542 GB, free: 4.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.798e-05/0.3678, allocations: 28.81 kB / 0.542 GB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.457e-05/0.3679, allocations: 42.64 kB / 0.542 GB, free: 4.09 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3679, allocations: 0 / 0.542 GB, free: 4.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.3935, allocations: 3.642 MB / 0.5456 GB, free: 2.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.525, allocations: 5.906 kB / 0.5456 GB, free: 2.141 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1)