Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, 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.2421/0.2421, 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.00234/0.00234, allocations: 84.19 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3611, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003795/0.365, allocations: 2.026 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3676, allocations: 1.353 MB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.3679, allocations: 2.75 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.3683, allocations: 58.38 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.3689, allocations: 216.7 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.3704, allocations: 0.592 MB / 0.5348 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.371, allocations: 314.9 kB / 0.5351 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.3712, allocations: 81.52 kB / 0.5351 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.3715, allocations: 135.8 kB / 0.5353 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3718, allocations: 199.2 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.3719, allocations: 12 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3721, allocations: 64.58 kB / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.3723, allocations: 141 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.3725, allocations: 178.8 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007164/0.3732, allocations: 425.6 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3732, allocations: 1.219 kB / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3732, allocations: 0 / 0.5362 GB, free: 9.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3732, allocations: 4 kB / 0.5363 GB, free: 9.215 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001485/0.3747, allocations: 0.8195 MB / 0.5371 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/0.3748, allocations: 9.031 kB / 0.5371 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.182e-05/0.3749, allocations: 42.41 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.3753, allocations: 81.92 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/0.3761, allocations: 494.5 kB / 0.5377 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.3761, allocations: 8.594 kB / 0.5377 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.3762, allocations: 23.33 kB / 0.5377 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.3765, allocations: 136.5 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3765, allocations: 9.281 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3766, allocations: 1.188 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3766, allocations: 2.781 kB / 0.5378 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.3768, allocations: 96.64 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3779, allocations: 0.7038 MB / 0.5386 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3781, allocations: 113.2 kB / 0.5387 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3782, allocations: 50.17 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3783, allocations: 10.2 kB / 0.5388 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3783, allocations: 31.84 kB / 0.5388 GB, free: 7.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3783, allocations: 3.938 kB / 0.5388 GB, free: 7.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001599/0.3799, allocations: 0.5689 MB / 0.5394 GB, free: 6.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.38, allocations: 84.27 kB / 0.5394 GB, free: 6.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3812, allocations: 0.929 MB / 0.5403 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3812, allocations: 33.64 kB / 0.5404 GB, free: 6.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.3814, allocations: 274.6 kB / 0.5406 GB, free: 5.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.3815, allocations: 58.14 kB / 0.5407 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.3816, allocations: 34.36 kB / 0.5407 GB, free: 5.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3817, allocations: 319.1 kB / 0.541 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3819, allocations: 62.53 kB / 0.5411 GB, free: 5.523 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3821, allocations: 83.53 kB / 0.5412 GB, free: 5.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.3825, allocations: 156.6 kB / 0.5413 GB, free: 5.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3825, allocations: 1.406 kB / 0.5413 GB, free: 5.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005803/0.3831, allocations: 248.2 kB / 0.5416 GB, free: 5.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3831, allocations: 5.562 kB / 0.5416 GB, free: 5.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.3831, allocations: 3.938 kB / 0.5416 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3832, allocations: 5.047 kB / 0.5416 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3834, allocations: 44.03 kB / 0.5416 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3834, allocations: 1.188 kB / 0.5416 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3836, allocations: 17.11 kB / 0.5416 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3836, allocations: 4.344 kB / 0.5416 GB, free: 5.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002665/0.3839, allocations: 219.2 kB / 0.5418 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.384, allocations: 62.33 kB / 0.5419 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.3848, allocations: 288.7 kB / 0.5422 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3848, allocations: 2.469 kB / 0.5422 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3848, allocations: 0 / 0.5422 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3848, allocations: 1.344 kB / 0.5422 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.3862, allocations: 0.8303 MB / 0.543 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.3862, allocations: 0 / 0.543 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3864, allocations: 40.06 kB / 0.543 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3864, allocations: 1.344 kB / 0.543 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3864, allocations: 6.219 kB / 0.543 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.3864, allocations: 5.281 kB / 0.543 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3864, allocations: 0 / 0.543 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.3871, allocations: 433 kB / 0.5435 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.3873, allocations: 151.8 kB / 0.5436 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.3874, allocations: 9.609 kB / 0.5436 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3876, allocations: 11.03 kB / 0.5436 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.3876, allocations: 18.69 kB / 0.5436 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3877, allocations: 7.906 kB / 0.5436 GB, free: 3.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008462/0.3885, allocations: 0.6824 MB / 0.5443 GB, free: 3.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3885, allocations: 0 / 0.5443 GB, free: 3.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.3889, allocations: 59.94 kB / 0.5444 GB, free: 3.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002397/0.3913, allocations: 1.242 MB / 0.5456 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.3919, allocations: 167.8 kB / 0.5457 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3919, allocations: 0 / 0.5457 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.3921, allocations: 91.89 kB / 0.5458 GB, free: 1.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.3929, allocations: 82.17 kB / 0.5459 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/0.4001, allocations: 5.2 MB / 0.551 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.4007, allocations: 0.8769 MB / 0.5518 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.4009, allocations: 103.2 kB / 0.5519 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.4012, allocations: 179.4 kB / 0.5521 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4012, allocations: 0 / 0.5521 GB, free: 11.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.4354, allocations: 10.14 MB / 0.562 GB, free: 1.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.821/9.256, allocations: 1.969 kB / 0.562 GB, free: 1.254 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_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_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1)