Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.00143, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002416/0.002416, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 247 MB, free: 10.54 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.2296/0.2296, allocations: 46.12 MB / 344.3 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.00228/0.00228, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003342/0.3378, allocations: 1.676 MB / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3389, allocations: 0.5563 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.339, allocations: 1.125 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3393, allocations: 38.95 kB / 0.5329 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.3396, allocations: 94.94 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.34, allocations: 143.2 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3402, allocations: 85.94 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3403, allocations: 17.53 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.3404, allocations: 41.67 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3405, allocations: 46.2 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3405, allocations: 3.562 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3406, allocations: 53.08 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.3407, allocations: 23.27 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.3408, allocations: 34.45 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.341, allocations: 113.1 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.341, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.341, allocations: 0 / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.341, allocations: 1.781 kB / 0.5335 GB, free: 11.24 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.0006339/0.3417, allocations: 430.1 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3417, allocations: 9.625 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.3418, allocations: 44.05 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.3418, allocations: 9.016 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.3421, allocations: 198.2 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3421, allocations: 7.125 kB / 0.5341 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3422, allocations: 7.078 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3424, allocations: 63.48 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3424, allocations: 4 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3424, allocations: 0 / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3425, allocations: 5.312 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3426, allocations: 43.33 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.343, allocations: 297.7 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3432, allocations: 63.33 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.3433, allocations: 25.34 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3434, allocations: 3.984 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3434, allocations: 35.94 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3434, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001483/0.3449, allocations: 397.7 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.345, allocations: 56.72 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3453, allocations: 185.5 kB / 0.5353 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3453, allocations: 31.36 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.3454, allocations: 100.3 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.3454, allocations: 40.44 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.3455, allocations: 29.61 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3457, allocations: 325.7 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3458, allocations: 39.66 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3459, allocations: 39.91 kB / 0.5359 GB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.3462, allocations: 100.1 kB / 0.536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3462, allocations: 0 / 0.536 GB, free: 9.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000353/0.3466, allocations: 146.6 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3466, allocations: 5.625 kB / 0.5361 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3466, allocations: 3.938 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3466, allocations: 9.062 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3468, allocations: 28.39 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3468, allocations: 3.984 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.3469, allocations: 11.09 kB / 0.5362 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3469, allocations: 2.656 kB / 0.5362 GB, free: 8.898 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.0001322/0.347, allocations: 125.8 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.3471, allocations: 13.88 kB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.3476, allocations: 161.9 kB / 0.5364 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3476, allocations: 9.188 kB / 0.5365 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3476, allocations: 0.5625 kB / 0.5365 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.3476, allocations: 1.094 kB / 0.5365 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.3483, allocations: 475.7 kB / 0.5369 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3484, allocations: 4.062 kB / 0.5369 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3485, allocations: 32.22 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3485, allocations: 1.344 kB / 0.5369 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.3485, allocations: 6.75 kB / 0.537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3485, allocations: 1.375 kB / 0.537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3485, allocations: 1.344 kB / 0.537 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.349, allocations: 259.2 kB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.3491, allocations: 88.84 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.3491, allocations: 1.344 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3492, allocations: 10.58 kB / 0.5373 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.3493, allocations: 21.09 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.3493, allocations: 2.875 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.3494, allocations: 144 kB / 0.5375 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3495, allocations: 0 / 0.5375 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3497, allocations: 26.28 kB / 0.5375 GB, free: 7.762 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.002388/0.3521, allocations: 1.128 MB / 0.5386 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3525, allocations: 114 kB / 0.5387 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3525, allocations: 1.031 kB / 0.5387 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3527, allocations: 58.41 kB / 0.5388 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.3531, allocations: 20.78 kB / 0.5388 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3556, allocations: 1.801 MB / 0.5405 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.356, allocations: 0.7081 MB / 0.5412 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.94e-05/0.3561, allocations: 17.44 kB / 0.5412 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.3562, allocations: 38.95 kB / 0.5413 GB, free: 4.527 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3562, allocations: 3.938 kB / 0.5413 GB, free: 4.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3811, allocations: 3.326 MB / 0.5445 GB, free: 2.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.388, allocations: 10.67 kB / 0.5445 GB, free: 2.719 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25_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_CombiTable2Ds_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1)