Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 117.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001383, allocations: 199.9 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, 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.244/0.244, allocations: 46.12 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.002428/0.002428, allocations: 80.09 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3538, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003135/0.3569, allocations: 1.654 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3581, allocations: 0.578 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.3582, allocations: 1.781 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.3588, allocations: 452.9 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.3593, allocations: 292.5 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.3598, allocations: 173 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.3601, allocations: 177.4 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3602, allocations: 20.86 kB / 0.5339 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3603, allocations: 107.4 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.3606, allocations: 219.1 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3606, allocations: 6.766 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.3607, allocations: 33.77 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3608, allocations: 79.58 kB / 0.5343 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.3609, allocations: 107.5 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.3613, allocations: 267.8 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3613, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3613, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3613, allocations: 0 / 0.5347 GB, free: 10.66 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.00079/0.3621, allocations: 0.6719 MB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3622, allocations: 9.688 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.3622, allocations: 35.78 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.726e-05/0.3623, allocations: 43.84 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.3626, allocations: 305.6 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.3626, allocations: 2 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3626, allocations: 5.938 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3628, allocations: 56.2 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3628, allocations: 0 / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3629, allocations: 8 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3629, allocations: 1.188 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.363, allocations: 29.02 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.3636, allocations: 409.7 kB / 0.5362 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3638, allocations: 44.47 kB / 0.5362 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.3639, allocations: 24.88 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3639, allocations: 0 / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3639, allocations: 31.69 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.955e-06/0.3639, allocations: 1.188 kB / 0.5363 GB, free: 9.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000693/0.3646, allocations: 245.1 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.3647, allocations: 56.09 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3657, allocations: 0.8781 MB / 0.5374 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3658, allocations: 26.73 kB / 0.5375 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.366, allocations: 230.3 kB / 0.5377 GB, free: 8.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.366, allocations: 18.17 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3661, allocations: 14.25 kB / 0.5377 GB, free: 8.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3663, allocations: 364.1 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.3664, allocations: 23.64 kB / 0.5381 GB, free: 7.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.3665, allocations: 24.8 kB / 0.5381 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3666, allocations: 55.88 kB / 0.5381 GB, free: 7.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3666, allocations: 3.938 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002794/0.3669, allocations: 123.7 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.367, allocations: 5.438 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.367, allocations: 0 / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.367, allocations: 5.094 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.3671, allocations: 13.45 kB / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3671, allocations: 0 / 0.5383 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.3672, allocations: 12.27 kB / 0.5383 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3672, allocations: 1.125 kB / 0.5383 GB, free: 7.711 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.0002112/0.3674, allocations: 210.5 kB / 0.5385 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.3675, allocations: 47.48 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.3678, allocations: 147.1 kB / 0.5387 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.3678, allocations: 5.641 kB / 0.5387 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3679, allocations: 3.984 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3679, allocations: 3.938 kB / 0.5387 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.3685, allocations: 470.1 kB / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3685, allocations: 0 / 0.5392 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.3686, allocations: 17.8 kB / 0.5392 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3686, allocations: 4 kB / 0.5392 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3686, allocations: 9.406 kB / 0.5392 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3686, allocations: 0 / 0.5392 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3687, allocations: 1.625 kB / 0.5392 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.369, allocations: 217.5 kB / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3691, allocations: 114.4 kB / 0.5395 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.3691, allocations: 9.031 kB / 0.5395 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.3692, allocations: 11.14 kB / 0.5395 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.3693, allocations: 2.156 kB / 0.5395 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3693, allocations: 1.75 kB / 0.5395 GB, free: 6.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.3701, allocations: 0.6647 MB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3701, allocations: 0 / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3704, allocations: 30.5 kB / 0.5402 GB, free: 6.352 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.002024/0.3724, allocations: 1.052 MB / 0.5412 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.3727, allocations: 55.2 kB / 0.5413 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3727, allocations: 0 / 0.5413 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.3728, allocations: 33.92 kB / 0.5413 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3732, allocations: 32.39 kB / 0.5413 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.3774, allocations: 3.271 MB / 0.5445 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.378, allocations: 0.826 MB / 0.5453 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.3781, allocations: 20.64 kB / 0.5454 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3783, allocations: 119.4 kB / 0.5455 GB, free: 2.133 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3783, allocations: 0 / 0.5455 GB, free: 2.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4072, allocations: 6.13 MB / 0.5515 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.623/9.03, allocations: 1.969 kB / 0.5515 GB, free: 12.09 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_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_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1)