Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001704, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002037, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.39 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.2326/0.2326, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002216/0.002216, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002927/0.3489, allocations: 1.622 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.3499, allocations: 0.5316 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.3499, allocations: 1.281 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.3505, allocations: 448.3 kB / 0.5332 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.351, allocations: 296.9 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.3513, allocations: 141.3 kB / 0.5336 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3516, allocations: 169.9 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.764e-05/0.3517, allocations: 10.66 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3518, allocations: 109.8 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.352, allocations: 206.9 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.352, allocations: 8.125 kB / 0.5341 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.949e-05/0.3521, allocations: 27.05 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.771e-05/0.3522, allocations: 82.19 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.3523, allocations: 102.1 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.3526, allocations: 263.2 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3527, allocations: 0 / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3527, allocations: 0 / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3527, allocations: 1.156 kB / 0.5345 GB, free: 10.76 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008704/0.3536, allocations: 0.657 MB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3536, allocations: 13.5 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.3536, allocations: 31.88 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.3537, allocations: 47.31 kB / 0.5352 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.354, allocations: 310.6 kB / 0.5355 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.354, allocations: 1.844 kB / 0.5355 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3541, allocations: 5.516 kB / 0.5355 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3542, allocations: 51.03 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3543, allocations: 0 / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3543, allocations: 9.047 kB / 0.5356 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3543, allocations: 4 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3544, allocations: 26.61 kB / 0.5356 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.3549, allocations: 384.7 kB / 0.536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3551, allocations: 36.59 kB / 0.536 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.3552, allocations: 27.16 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.3552, allocations: 0 / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3552, allocations: 31.69 kB / 0.5361 GB, free: 9.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3552, allocations: 0 / 0.5361 GB, free: 9.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003376/0.3556, allocations: 121.8 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.3556, allocations: 52.53 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/0.3566, allocations: 0.8704 MB / 0.5371 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3566, allocations: 33.7 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.3569, allocations: 224.3 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.3569, allocations: 9.016 kB / 0.5374 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3569, allocations: 13.16 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3572, allocations: 368.1 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.3572, allocations: 16.95 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.3573, allocations: 13.48 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3574, allocations: 43.3 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3575, allocations: 3.938 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002131/0.3577, allocations: 105.9 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3577, allocations: 6.188 kB / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3577, allocations: 0 / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3577, allocations: 0 / 0.5379 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.3578, allocations: 11.39 kB / 0.5379 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3578, allocations: 4 kB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.3579, allocations: 11.84 kB / 0.5379 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3579, allocations: 1.156 kB / 0.5379 GB, free: 7.949 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 (3): * Single equations (assignments): 3 * 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.0001982/0.3581, allocations: 213.1 kB / 0.5381 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.3582, allocations: 43.28 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3585, allocations: 126.8 kB / 0.5383 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3585, allocations: 1.25 kB / 0.5383 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3585, allocations: 5.031 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3585, allocations: 0 / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.3589, allocations: 289.8 kB / 0.5386 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3589, allocations: 0 / 0.5386 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.3589, allocations: 14.94 kB / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3589, allocations: 0 / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.359, allocations: 1.656 kB / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.359, allocations: 0 / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.359, allocations: 0 / 0.5386 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.3592, allocations: 209.5 kB / 0.5388 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3593, allocations: 114.7 kB / 0.5389 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3594, allocations: 0 / 0.5389 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3595, allocations: 7.125 kB / 0.5389 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3595, allocations: 5.406 kB / 0.5389 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3595, allocations: 1.281 kB / 0.5389 GB, free: 7.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006572/0.3602, allocations: 0.6541 MB / 0.5396 GB, free: 6.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.185e-06/0.3602, allocations: 4 kB / 0.5396 GB, free: 6.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3604, allocations: 27.5 kB / 0.5396 GB, free: 6.773 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 (3): * Single equations (assignments): 3 * 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.001737/0.3622, allocations: 0.9836 MB / 0.5405 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.3624, allocations: 39.31 kB / 0.5406 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3624, allocations: 0 / 0.5406 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.3625, allocations: 20.3 kB / 0.5406 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3629, allocations: 28.05 kB / 0.5406 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.367, allocations: 3.172 MB / 0.5437 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.3675, allocations: 0.8186 MB / 0.5445 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.3676, allocations: 8.188 kB / 0.5445 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3677, allocations: 116.6 kB / 0.5446 GB, free: 2.996 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3677, allocations: 4 kB / 0.5446 GB, free: 2.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.3977, allocations: 5.774 MB / 0.5503 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.67/9.068, allocations: 9.844 kB / 0.5503 GB, free: 13.3 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1)