Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 199.9 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.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.4 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.2377/0.2377, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.002247/0.002247, allocations: 80.09 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3484, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003284/0.3517, allocations: 1.671 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3535, allocations: 1.195 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.3536, allocations: 0.9062 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.3538, allocations: 24.2 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.3541, allocations: 90.47 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.3546, allocations: 176.4 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.3547, allocations: 83.38 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3549, allocations: 21.61 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.3549, allocations: 28.23 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3551, allocations: 40.2 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3551, allocations: 4.125 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3553, allocations: 101.5 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.3554, allocations: 17.42 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/0.3554, allocations: 34.67 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3557, allocations: 154.2 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3557, allocations: 1.375 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3557, allocations: 0 / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3557, allocations: 0 / 0.5342 GB, free: 10.64 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.0005849/0.3563, allocations: 427.3 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3564, allocations: 9.25 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.3564, allocations: 35.94 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.3565, allocations: 9.172 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3567, allocations: 207.9 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.3567, allocations: 5.438 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3567, allocations: 6.875 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.3569, allocations: 82.38 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3569, allocations: 1.344 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.357, allocations: 4 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.357, allocations: 5.078 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3571, allocations: 39.47 kB / 0.535 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.3576, allocations: 313.6 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.3578, allocations: 50.45 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.118e-05/0.3579, allocations: 24.25 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3579, allocations: 5.438 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.3579, allocations: 31.81 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3579, allocations: 0 / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008372/0.3588, allocations: 238.2 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3588, allocations: 78.27 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.359, allocations: 160.5 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3591, allocations: 30.83 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.3591, allocations: 103.5 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3592, allocations: 23.33 kB / 0.536 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.3592, allocations: 23.14 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3594, allocations: 322 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3595, allocations: 36.66 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3596, allocations: 54.84 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.3599, allocations: 87 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3599, allocations: 0 / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003071/0.3602, allocations: 129.3 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3602, allocations: 9.531 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3602, allocations: 3.984 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3602, allocations: 0 / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3604, allocations: 19.11 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3604, allocations: 5.438 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.3605, allocations: 17.42 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3605, allocations: 2.75 kB / 0.5366 GB, free: 8.348 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 9.411e-05/0.3606, allocations: 118.9 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.3606, allocations: 16.91 kB / 0.5368 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.361, allocations: 138.4 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.361, allocations: 5.219 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.361, allocations: 3.984 kB / 0.5369 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.361, allocations: 5.094 kB / 0.5369 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.3616, allocations: 411.6 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3616, allocations: 3.938 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3617, allocations: 18.42 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3618, allocations: 5.047 kB / 0.5373 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3618, allocations: 13.03 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3618, allocations: 0 / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3618, allocations: 1.062 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.3622, allocations: 219.8 kB / 0.5376 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.3622, allocations: 84.72 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3623, allocations: 7.922 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3624, allocations: 10.62 kB / 0.5377 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3624, allocations: 6.328 kB / 0.5377 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3624, allocations: 2.656 kB / 0.5377 GB, free: 7.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3625, allocations: 127.5 kB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3625, allocations: 0 / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.3628, allocations: 43.11 kB / 0.5378 GB, free: 7.301 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.00223/0.3651, allocations: 1.141 MB / 0.539 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.3654, allocations: 96.84 kB / 0.539 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3654, allocations: 1.188 kB / 0.539 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3656, allocations: 47.67 kB / 0.5391 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3659, allocations: 19.95 kB / 0.5391 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3681, allocations: 1.643 MB / 0.5407 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3685, allocations: 0.7066 MB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.3686, allocations: 31.73 kB / 0.5414 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.3687, allocations: 31.95 kB / 0.5415 GB, free: 4.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3687, allocations: 0 / 0.5415 GB, free: 4.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3968, allocations: 3.598 MB / 0.545 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.559, allocations: 10.2 kB / 0.545 GB, free: 2.152 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14_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_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1)