Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 117.6 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.001769/0.001769, allocations: 204.7 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.508/1.508, allocations: 227.4 MB / 247 MB, free: 10.48 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.2792/0.2792, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002254/0.002254, allocations: 75.88 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.00365/0.3394, allocations: 1.931 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3413, allocations: 0.9843 MB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.3414, allocations: 1.375 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.3419, allocations: 256.1 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.3425, allocations: 262.3 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3438, allocations: 473.1 kB / 0.5344 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.3443, allocations: 299.3 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3445, allocations: 53.3 kB / 0.5347 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3446, allocations: 136.6 kB / 0.5349 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.3449, allocations: 183.6 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.3449, allocations: 8.25 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3451, allocations: 58.78 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.3452, allocations: 86.34 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3453, allocations: 114.3 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.3458, allocations: 316 kB / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3458, allocations: 0 / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3458, allocations: 0 / 0.5356 GB, free: 9.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3458, allocations: 0 / 0.5356 GB, free: 9.781 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008791/0.3467, allocations: 0.6717 MB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3467, allocations: 8.25 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.3468, allocations: 36.91 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.3469, allocations: 42.69 kB / 0.5363 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.3472, allocations: 326 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3473, allocations: 11.91 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3473, allocations: 3.844 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3475, allocations: 90.91 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3475, allocations: 0 / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3475, allocations: 1.031 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.3475, allocations: 1.125 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3477, allocations: 52.06 kB / 0.5368 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.3483, allocations: 455.5 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3484, allocations: 62.3 kB / 0.5373 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.3485, allocations: 20.98 kB / 0.5373 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3486, allocations: 10.06 kB / 0.5373 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3486, allocations: 35.69 kB / 0.5374 GB, free: 8.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3486, allocations: 0 / 0.5374 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003469/0.3489, allocations: 132.9 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.349, allocations: 60.83 kB / 0.5376 GB, free: 7.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/0.3497, allocations: 0.5844 MB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3497, allocations: 26.86 kB / 0.5381 GB, free: 7.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3499, allocations: 209.9 kB / 0.5383 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.35, allocations: 22.86 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.35, allocations: 19.06 kB / 0.5384 GB, free: 7.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3502, allocations: 354.6 kB / 0.5387 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.3503, allocations: 18.5 kB / 0.5387 GB, free: 7.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.3503, allocations: 22.2 kB / 0.5388 GB, free: 7.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.3505, allocations: 44.12 kB / 0.5388 GB, free: 7.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3505, allocations: 4.969 kB / 0.5388 GB, free: 7.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000222/0.3507, allocations: 114.6 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3507, allocations: 4.688 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3507, allocations: 1.781 kB / 0.5389 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3508, allocations: 11.92 kB / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.3509, allocations: 9.875 kB / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3509, allocations: 1.312 kB / 0.5389 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.351, allocations: 15.7 kB / 0.539 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.351, allocations: 6.234 kB / 0.539 GB, free: 6.945 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 (6): * Single equations (assignments): 6 * 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.0001666/0.3511, allocations: 164.6 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.3512, allocations: 41.25 kB / 0.5392 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3515, allocations: 129.4 kB / 0.5393 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3515, allocations: 13.17 kB / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.3515, allocations: 0 / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3516, allocations: 0 / 0.5393 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.3519, allocations: 288.6 kB / 0.5396 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3519, allocations: 1.5 kB / 0.5396 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.352, allocations: 14.08 kB / 0.5396 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.352, allocations: 0 / 0.5396 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.352, allocations: 5 kB / 0.5396 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.352, allocations: 5.469 kB / 0.5396 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.352, allocations: 0 / 0.5396 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3523, allocations: 217.9 kB / 0.5398 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.3524, allocations: 122.8 kB / 0.5399 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3524, allocations: 0 / 0.5399 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.3525, allocations: 8.344 kB / 0.5399 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.3526, allocations: 5.359 kB / 0.5399 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3526, allocations: 6.703 kB / 0.5399 GB, free: 6.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004833/0.3531, allocations: 441.3 kB / 0.5404 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3531, allocations: 4 kB / 0.5404 GB, free: 5.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000312/0.3534, allocations: 41.22 kB / 0.5404 GB, free: 5.836 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 (6): * Single equations (assignments): 6 * 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.002767/0.3562, allocations: 1.228 MB / 0.5416 GB, free: 4.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3564, allocations: 53.16 kB / 0.5417 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3564, allocations: 0 / 0.5417 GB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.3565, allocations: 28.17 kB / 0.5417 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.357, allocations: 75.77 kB / 0.5418 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.3608, allocations: 2.851 MB / 0.5445 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.3613, allocations: 0.8001 MB / 0.5453 GB, free: 2.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.3615, allocations: 43.58 kB / 0.5454 GB, free: 2.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3617, allocations: 108.6 kB / 0.5455 GB, free: 2.023 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3617, allocations: 0 / 0.5455 GB, free: 2.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.3914, allocations: 6.808 MB / 0.5521 GB, free: 11.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.767, allocations: 4.938 kB / 0.5521 GB, free: 11.58 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1)