Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001345, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 205.2 kB / 18.74 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.431/1.431, allocations: 227.4 MB / 247 MB, free: 10.43 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.2387/0.2387, allocations: 46.12 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.002232/0.002232, allocations: 71.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3699, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003206/0.3732, allocations: 1.676 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3743, allocations: 0.5615 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3744, allocations: 2 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.3746, allocations: 53.52 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.3749, allocations: 97.44 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.3753, allocations: 139.8 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3754, allocations: 78.52 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3756, allocations: 30.33 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.567e-05/0.3756, allocations: 30.39 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3758, allocations: 51.59 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.3758, allocations: 5.312 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3759, allocations: 52.36 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.376, allocations: 19.67 kB / 0.5334 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.376, allocations: 42.59 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3762, allocations: 115 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3762, allocations: 1.375 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3762, allocations: 4 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3763, allocations: 0 / 0.5335 GB, free: 11.19 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.0005852/0.3768, allocations: 429 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3769, allocations: 9.625 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.3769, allocations: 36.12 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.377, allocations: 14.34 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3772, allocations: 199.9 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3772, allocations: 5.75 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3772, allocations: 7.125 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3774, allocations: 75.34 kB / 0.5342 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3775, allocations: 5.328 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.3775, allocations: 0 / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.3775, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3776, allocations: 43.28 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.3781, allocations: 311 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.3783, allocations: 59.33 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.3784, allocations: 27.97 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3785, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.3785, allocations: 31.94 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3785, allocations: 0 / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001448/0.3799, allocations: 408.9 kB / 0.5351 GB, free: 9.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.38, allocations: 57.19 kB / 0.5352 GB, free: 9.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3802, allocations: 198.2 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3803, allocations: 30.8 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3803, allocations: 102.2 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.3804, allocations: 39.45 kB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.3804, allocations: 29.23 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3806, allocations: 323.4 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.3807, allocations: 42.44 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3809, allocations: 45.09 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3812, allocations: 103.1 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3812, allocations: 1.125 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003408/0.3815, allocations: 138.2 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3815, allocations: 5.438 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3816, allocations: 0 / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3816, allocations: 8.969 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3817, allocations: 28.66 kB / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3817, allocations: 0 / 0.5362 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.3818, allocations: 18.42 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3818, allocations: 2.906 kB / 0.5362 GB, free: 8.828 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.0001334/0.382, allocations: 124.1 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.382, allocations: 14.38 kB / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.3825, allocations: 162.6 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3825, allocations: 5.312 kB / 0.5365 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.3825, allocations: 5.453 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3825, allocations: 3.938 kB / 0.5365 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/0.3833, allocations: 488.5 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3833, allocations: 5.375 kB / 0.537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3834, allocations: 24.89 kB / 0.537 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.3834, allocations: 5.453 kB / 0.537 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3835, allocations: 5.531 kB / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3835, allocations: 1.469 kB / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3835, allocations: 0 / 0.537 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3839, allocations: 260.1 kB / 0.5373 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.384, allocations: 93.45 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.384, allocations: 2.219 kB / 0.5374 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3841, allocations: 10.58 kB / 0.5374 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.3842, allocations: 12.12 kB / 0.5374 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3842, allocations: 7.641 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.3844, allocations: 157.2 kB / 0.5375 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3844, allocations: 0 / 0.5375 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3847, allocations: 22.22 kB / 0.5376 GB, free: 7.676 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.00238/0.387, allocations: 1.14 MB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3874, allocations: 110.4 kB / 0.5388 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3874, allocations: 1.125 kB / 0.5388 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3876, allocations: 58.16 kB / 0.5388 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.388, allocations: 29.88 kB / 0.5389 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3905, allocations: 1.831 MB / 0.5407 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.391, allocations: 0.7057 MB / 0.5413 GB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.391, allocations: 22.09 kB / 0.5414 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.3911, allocations: 39.42 kB / 0.5414 GB, free: 4.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3911, allocations: 0 / 0.5414 GB, free: 4.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4184, allocations: 3.421 MB / 0.5447 GB, free: 2.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.61, allocations: 4.625 kB / 0.5448 GB, free: 2.582 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1)