Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 198 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.521/1.521, allocations: 227.4 MB / 247 MB, free: 10.44 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.2346/0.2346, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.00257/0.00257, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.334, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00355/0.3376, allocations: 2.062 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3397, allocations: 1.108 MB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.3399, allocations: 6.906 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.3405, allocations: 269 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006715/0.3412, allocations: 261.9 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.3428, allocations: 0.6575 MB / 0.5349 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.3434, allocations: 347 kB / 0.5352 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.3437, allocations: 80.36 kB / 0.5353 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.344, allocations: 150.3 kB / 0.5354 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.3444, allocations: 210.1 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.3444, allocations: 11.53 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.3447, allocations: 106.2 kB / 0.5357 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3449, allocations: 96.81 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.345, allocations: 130.6 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007029/0.3457, allocations: 374.3 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3458, allocations: 5.25 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3458, allocations: 4 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3458, allocations: 0 / 0.5363 GB, free: 9.293 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001207/0.347, allocations: 0.7168 MB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3471, allocations: 10.38 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.3471, allocations: 42.14 kB / 0.5371 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.3473, allocations: 44.47 kB / 0.5371 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.3478, allocations: 346 kB / 0.5374 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3478, allocations: 8.844 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.3478, allocations: 15.5 kB / 0.5374 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.3481, allocations: 135.7 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3482, allocations: 5.047 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.3482, allocations: 5.188 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3482, allocations: 2.219 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.3484, allocations: 85.97 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.3493, allocations: 0.5232 MB / 0.5382 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.3496, allocations: 116.7 kB / 0.5383 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.3497, allocations: 40.36 kB / 0.5383 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3497, allocations: 2.312 kB / 0.5383 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3498, allocations: 43.67 kB / 0.5384 GB, free: 7.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3498, allocations: 0 / 0.5384 GB, free: 7.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001256/0.3511, allocations: 458 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3511, allocations: 54.28 kB / 0.5389 GB, free: 7.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.352, allocations: 0.6009 MB / 0.5395 GB, free: 6.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.352, allocations: 30.77 kB / 0.5395 GB, free: 6.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3522, allocations: 215.7 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.097e-05/0.3523, allocations: 58.92 kB / 0.5397 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.3524, allocations: 37.83 kB / 0.5398 GB, free: 6.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3526, allocations: 360.3 kB / 0.5401 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3527, allocations: 66.05 kB / 0.5402 GB, free: 6.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3529, allocations: 68.39 kB / 0.5403 GB, free: 6.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.3532, allocations: 161.6 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3532, allocations: 0 / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004695/0.3537, allocations: 225.9 kB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3537, allocations: 11.78 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3538, allocations: 0 / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3538, allocations: 1.031 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3539, allocations: 43.09 kB / 0.5407 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.354, allocations: 5 kB / 0.5407 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3541, allocations: 9.375 kB / 0.5407 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3541, allocations: 8.422 kB / 0.5407 GB, free: 5.895 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 (17): * Single equations (assignments): 17 * 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.0002146/0.3543, allocations: 182.5 kB / 0.5409 GB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.3544, allocations: 55.53 kB / 0.5409 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.355, allocations: 279.7 kB / 0.5412 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.355, allocations: 2.562 kB / 0.5412 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.355, allocations: 0 / 0.5412 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.355, allocations: 5.312 kB / 0.5412 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3561, allocations: 0.6917 MB / 0.5419 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3561, allocations: 8 kB / 0.5419 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3562, allocations: 30.17 kB / 0.5419 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3562, allocations: 1.25 kB / 0.5419 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3563, allocations: 14.48 kB / 0.5419 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3563, allocations: 3.938 kB / 0.5419 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3563, allocations: 1.219 kB / 0.5419 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.3568, allocations: 329.3 kB / 0.5422 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3569, allocations: 123.5 kB / 0.5424 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.357, allocations: 5.109 kB / 0.5424 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3571, allocations: 13.53 kB / 0.5424 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.3571, allocations: 10.17 kB / 0.5424 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3572, allocations: 3.906 kB / 0.5424 GB, free: 4.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006272/0.3578, allocations: 451.3 kB / 0.5428 GB, free: 4.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 0.5428 GB, free: 4.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.3582, allocations: 55.61 kB / 0.5429 GB, free: 4.344 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 (17): * Single equations (assignments): 17 * 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.003627/0.3618, allocations: 1.457 MB / 0.5443 GB, free: 3.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.3622, allocations: 168.1 kB / 0.5445 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3623, allocations: 4 kB / 0.5445 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.3625, allocations: 92.02 kB / 0.5446 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.3631, allocations: 87.02 kB / 0.5446 GB, free: 3.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.3678, allocations: 3.352 MB / 0.5479 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.3684, allocations: 0.826 MB / 0.5487 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.3686, allocations: 62.22 kB / 0.5488 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3688, allocations: 147.4 kB / 0.5489 GB, free: 14.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3688, allocations: 0 / 0.5489 GB, free: 14.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.402, allocations: 7.887 MB / 0.5566 GB, free: 7.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.005, allocations: 9.016 kB / 0.5566 GB, free: 7.008 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1)