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.0013/0.0013, allocations: 117.7 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.001377/0.001377, allocations: 211.8 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.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.42 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.2274/0.2274, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002339/0.002339, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3243, allocations: 62.45 MB / 0.5306 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003575/0.328, allocations: 2.053 MB / 0.5326 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.33, allocations: 1.118 MB / 0.5337 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3301, allocations: 8.125 kB / 0.5337 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.3306, allocations: 269.4 kB / 0.534 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.3311, allocations: 256.6 kB / 0.5342 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.3327, allocations: 0.6551 MB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.3332, allocations: 353.4 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.3334, allocations: 81.09 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3336, allocations: 142.9 kB / 0.5354 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.3338, allocations: 206 kB / 0.5356 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.3339, allocations: 11.81 kB / 0.5356 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3341, allocations: 102.5 kB / 0.5357 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.3343, allocations: 104.2 kB / 0.5358 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3344, allocations: 131.4 kB / 0.5359 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.3349, allocations: 370 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3349, allocations: 1.062 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3349, allocations: 0 / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3349, allocations: 0 / 0.5363 GB, free: 9.527 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.0009193/0.3358, allocations: 0.7174 MB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3359, allocations: 9.156 kB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.3359, allocations: 42.84 kB / 0.537 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.336, allocations: 49.61 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.3365, allocations: 353.3 kB / 0.5374 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3365, allocations: 8.875 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.3365, allocations: 15.66 kB / 0.5375 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3368, allocations: 131.5 kB / 0.5376 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.3368, allocations: 5.078 kB / 0.5376 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3368, allocations: 5 kB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3368, allocations: 2.469 kB / 0.5376 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.3371, allocations: 89.84 kB / 0.5377 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.3378, allocations: 0.5193 MB / 0.5382 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.338, allocations: 108.5 kB / 0.5383 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.3381, allocations: 47.98 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3381, allocations: 10.19 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.3382, allocations: 35.62 kB / 0.5384 GB, free: 7.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3382, allocations: 4 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001075/0.3393, allocations: 457.9 kB / 0.5388 GB, free: 7.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.3393, allocations: 57.41 kB / 0.5389 GB, free: 7.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.3401, allocations: 0.6024 MB / 0.5395 GB, free: 7.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3401, allocations: 31.08 kB / 0.5395 GB, free: 7.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.3403, allocations: 211.8 kB / 0.5397 GB, free: 6.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.3404, allocations: 65.55 kB / 0.5398 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.3404, allocations: 35.17 kB / 0.5398 GB, free: 6.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3406, allocations: 356.1 kB / 0.5401 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3408, allocations: 65.83 kB / 0.5402 GB, free: 6.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3409, allocations: 66.83 kB / 0.5403 GB, free: 6.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.3412, allocations: 154.3 kB / 0.5404 GB, free: 6.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3412, allocations: 4 kB / 0.5404 GB, free: 6.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004175/0.3417, allocations: 240.8 kB / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3417, allocations: 5.438 kB / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3417, allocations: 0 / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3417, allocations: 1.125 kB / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3419, allocations: 35.47 kB / 0.5407 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3419, allocations: 1.125 kB / 0.5407 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.342, allocations: 12.41 kB / 0.5407 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.342, allocations: 8.656 kB / 0.5407 GB, free: 6.121 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.0001962/0.3422, allocations: 186.2 kB / 0.5409 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.3423, allocations: 47.83 kB / 0.5409 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005697/0.3429, allocations: 276.5 kB / 0.5412 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3429, allocations: 2.281 kB / 0.5412 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3429, allocations: 3.984 kB / 0.5412 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3429, allocations: 0 / 0.5412 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.3439, allocations: 0.7073 MB / 0.5419 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3439, allocations: 0 / 0.5419 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3441, allocations: 38.3 kB / 0.5419 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3441, allocations: 5.062 kB / 0.5419 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3441, allocations: 2.156 kB / 0.5419 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.3441, allocations: 7.922 kB / 0.5419 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3441, allocations: 1.062 kB / 0.5419 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.3446, allocations: 331.1 kB / 0.5422 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3447, allocations: 120.2 kB / 0.5424 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.3448, allocations: 4.938 kB / 0.5424 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3449, allocations: 17.33 kB / 0.5424 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3449, allocations: 9.641 kB / 0.5424 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.345, allocations: 4.5 kB / 0.5424 GB, free: 4.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005557/0.3455, allocations: 456 kB / 0.5428 GB, free: 4.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3455, allocations: 3.938 kB / 0.5428 GB, free: 4.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.3459, allocations: 55.11 kB / 0.5429 GB, free: 4.559 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.003538/0.3494, allocations: 1.458 MB / 0.5443 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.3499, allocations: 169.5 kB / 0.5445 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3499, allocations: 0 / 0.5445 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.3501, allocations: 88.7 kB / 0.5446 GB, free: 3.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.3507, allocations: 76.61 kB / 0.5446 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.3552, allocations: 3.352 MB / 0.5479 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.3557, allocations: 0.8338 MB / 0.5487 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.3559, allocations: 58.23 kB / 0.5488 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.3561, allocations: 147.3 kB / 0.5489 GB, free: 14.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3561, allocations: 0 / 0.5489 GB, free: 14.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.3866, allocations: 7.883 MB / 0.5566 GB, free: 7.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.028, allocations: 12.95 kB / 0.5566 GB, free: 7.168 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1)