Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001789/0.001789, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247 MB, free: 10.45 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.2897/0.2897, 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.002246/0.002246, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3412, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003571/0.3448, allocations: 1.641 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3461, allocations: 0.6889 MB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.3461, allocations: 0 / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.3465, allocations: 33.41 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.3467, allocations: 39.98 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.862e-06/0.3467, allocations: 0 / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.347, allocations: 34.08 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.347, allocations: 9.062 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.3471, allocations: 15.16 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.3471, allocations: 20.75 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3472, allocations: 0 / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.3472, allocations: 6.719 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.3473, allocations: 20.17 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.3474, allocations: 19.94 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.3476, allocations: 72.08 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3476, allocations: 0 / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3476, allocations: 1.375 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3476, allocations: 0 / 0.5331 GB, free: 11.4 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005683/0.3482, allocations: 375.5 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.3482, allocations: 9.625 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.3483, allocations: 38.88 kB / 0.5335 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3483, allocations: 11.62 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3486, allocations: 171 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3486, allocations: 1.75 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3486, allocations: 1.75 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3489, allocations: 128.4 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3489, allocations: 7.922 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3489, allocations: 1.375 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.349, allocations: 27.05 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.3491, allocations: 43.28 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.3499, allocations: 0.8864 MB / 0.5348 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.35, allocations: 166.5 kB / 0.5349 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.3501, allocations: 88.08 kB / 0.535 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.3501, allocations: 75.28 kB / 0.5351 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.3502, allocations: 119.2 kB / 0.5352 GB, free: 9.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3502, allocations: 0 / 0.5352 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.917e-05/0.3503, allocations: 41.66 kB / 0.5353 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.3504, allocations: 127.8 kB / 0.5354 GB, free: 9.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.3507, allocations: 181.3 kB / 0.5356 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3507, allocations: 29.7 kB / 0.5356 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3508, allocations: 152 kB / 0.5357 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/0.3508, allocations: 6.578 kB / 0.5357 GB, free: 8.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.3509, allocations: 39.7 kB / 0.5358 GB, free: 8.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.351, allocations: 321.5 kB / 0.5361 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.298e-05/0.3511, allocations: 31.3 kB / 0.5361 GB, free: 8.352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.3512, allocations: 155.3 kB / 0.5363 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3515, allocations: 210.6 kB / 0.5365 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3515, allocations: 2.281 kB / 0.5365 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003447/0.3518, allocations: 209 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3519, allocations: 6.812 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3519, allocations: 4.656 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3519, allocations: 6.375 kB / 0.5367 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3521, allocations: 36.89 kB / 0.5367 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3521, allocations: 13.36 kB / 0.5367 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.969e-05/0.3522, allocations: 24.89 kB / 0.5367 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3522, allocations: 13.22 kB / 0.5368 GB, free: 7.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001652/0.3524, allocations: 210 kB / 0.537 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3525, allocations: 121.9 kB / 0.5371 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.3526, allocations: 117.6 kB / 0.5372 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.48e-05/0.3527, allocations: 181.5 kB / 0.5374 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001034/0.3528, allocations: 188.3 kB / 0.5375 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.072e-05/0.3528, allocations: 177.5 kB / 0.5377 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.3532, allocations: 425 kB / 0.5381 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.776e-05/0.3532, allocations: 106 kB / 0.5382 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.3533, allocations: 106 kB / 0.5383 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.3534, allocations: 181.6 kB / 0.5385 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/0.3535, allocations: 180.3 kB / 0.5387 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.238e-05/0.3536, allocations: 181.3 kB / 0.5388 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.989e-05/0.3537, allocations: 181.9 kB / 0.539 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3539, allocations: 317.5 kB / 0.5393 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.354, allocations: 189 kB / 0.5395 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3541, allocations: 189.6 kB / 0.5397 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3543, allocations: 102.5 kB / 0.5398 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.3543, allocations: 180.2 kB / 0.5399 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.3544, allocations: 106.4 kB / 0.54 GB, free: 4.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3545, allocations: 129 kB / 0.5402 GB, free: 4.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3545, allocations: 1.375 kB / 0.5402 GB, free: 4.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.3549, allocations: 19 kB / 0.5402 GB, free: 4.145 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 (0): * Single equations (assignments): 0 * 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.001002/0.3559, allocations: 0.9161 MB / 0.5411 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.356, allocations: 73.47 kB / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.356, allocations: 0 / 0.5411 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.356, allocations: 1.375 kB / 0.5412 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.3565, allocations: 462.4 kB / 0.5416 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3585, allocations: 1.891 MB / 0.5434 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.3589, allocations: 0.6994 MB / 0.5441 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3591, allocations: 50.39 kB / 0.5442 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.3591, allocations: 21.91 kB / 0.5442 GB, free: 200 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3592, allocations: 0 / 0.5442 GB, free: 200 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.3848, allocations: 2.123 MB / 0.5463 GB, free: 15.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.307, allocations: 8.062 kB / 0.5463 GB, free: 15.02 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1)