Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001468/0.001468, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.4 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.229/0.229, allocations: 46.12 MB / 344.3 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.003279/0.00328, allocations: 83.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3436, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004163/0.3478, allocations: 2.048 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3502, allocations: 1.119 MB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3504, allocations: 8.062 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005584/0.351, allocations: 265.4 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006199/0.3516, allocations: 268.5 kB / 0.5342 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.3533, allocations: 0.6508 MB / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3538, allocations: 346.3 kB / 0.5352 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.354, allocations: 77 kB / 0.5353 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.3542, allocations: 150.2 kB / 0.5354 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.3545, allocations: 206.5 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.3546, allocations: 12.12 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.3548, allocations: 74.52 kB / 0.5357 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.3549, allocations: 97.06 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3551, allocations: 134.5 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.3557, allocations: 362.4 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3557, allocations: 5.094 kB / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3557, allocations: 0 / 0.5363 GB, free: 9.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3557, allocations: 0 / 0.5363 GB, free: 9.297 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.001058/0.3568, allocations: 0.7057 MB / 0.5369 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3568, allocations: 9.656 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.3569, allocations: 45.95 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.357, allocations: 44.78 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.3574, allocations: 342.2 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.3575, allocations: 8.25 kB / 0.5374 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.462e-05/0.3575, allocations: 23.55 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.3578, allocations: 124.3 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3578, allocations: 7.891 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3578, allocations: 5.375 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3578, allocations: 2.75 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.358, allocations: 94.45 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.3588, allocations: 0.5226 MB / 0.5381 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.359, allocations: 113.1 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.3591, allocations: 43.61 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3591, allocations: 2.375 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3591, allocations: 36.47 kB / 0.5383 GB, free: 7.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3591, allocations: 0 / 0.5383 GB, free: 7.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001135/0.3603, allocations: 459.5 kB / 0.5388 GB, free: 7.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.3603, allocations: 53.91 kB / 0.5388 GB, free: 7.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/0.3612, allocations: 0.6057 MB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3612, allocations: 27.14 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3614, allocations: 215.1 kB / 0.5396 GB, free: 6.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-05/0.3615, allocations: 58.81 kB / 0.5397 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.3616, allocations: 42.39 kB / 0.5397 GB, free: 6.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.3618, allocations: 363.3 kB / 0.5401 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.362, allocations: 66.58 kB / 0.5401 GB, free: 6.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.3621, allocations: 61.28 kB / 0.5402 GB, free: 6.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.3624, allocations: 160.8 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3624, allocations: 4 kB / 0.5404 GB, free: 6.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000426/0.3629, allocations: 237.8 kB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3629, allocations: 5.5 kB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3629, allocations: 0 / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3629, allocations: 1.219 kB / 0.5406 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3631, allocations: 35.3 kB / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3631, allocations: 0 / 0.5406 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3632, allocations: 17.64 kB / 0.5406 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3632, allocations: 4.469 kB / 0.5406 GB, free: 5.906 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.0002122/0.3634, allocations: 186.9 kB / 0.5408 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3635, allocations: 46.73 kB / 0.5409 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005522/0.3641, allocations: 279.9 kB / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3641, allocations: 1.688 kB / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3641, allocations: 1.062 kB / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3641, allocations: 0 / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3651, allocations: 0.7018 MB / 0.5418 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3651, allocations: 1.312 kB / 0.5418 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3653, allocations: 37.25 kB / 0.5419 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3653, allocations: 1.062 kB / 0.5419 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3653, allocations: 6.281 kB / 0.5419 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.3653, allocations: 5.188 kB / 0.5419 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3653, allocations: 0 / 0.5419 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.3658, allocations: 331.8 kB / 0.5422 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.636e-05/0.3659, allocations: 123.8 kB / 0.5423 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.366, allocations: 5.125 kB / 0.5423 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3661, allocations: 8.219 kB / 0.5423 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3662, allocations: 14.33 kB / 0.5423 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3662, allocations: 4.375 kB / 0.5423 GB, free: 4.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000483/0.3667, allocations: 451.4 kB / 0.5428 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3667, allocations: 1.156 kB / 0.5428 GB, free: 4.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000311/0.367, allocations: 54.86 kB / 0.5428 GB, free: 4.359 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.003479/0.3705, allocations: 1.465 MB / 0.5443 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.3709, allocations: 169.3 kB / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3709, allocations: 4 kB / 0.5444 GB, free: 3.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3711, allocations: 87.92 kB / 0.5445 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.3716, allocations: 88.88 kB / 0.5446 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.3761, allocations: 3.34 MB / 0.5478 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.3767, allocations: 0.8299 MB / 0.5487 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.3769, allocations: 70.16 kB / 0.5487 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3771, allocations: 135.4 kB / 0.5489 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3771, allocations: 0 / 0.5489 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.4105, allocations: 7.898 MB / 0.5566 GB, free: 7.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.058, allocations: 1.078 kB / 0.5566 GB, free: 7.059 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1)