Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001809/0.001809, allocations: 121.8 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.002059/0.002059, allocations: 202 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.451/1.451, 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.2221/0.2221, allocations: 46.12 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.002252/0.002252, allocations: 76.14 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3487, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003193/0.352, allocations: 1.676 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3531, allocations: 0.5842 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.3532, allocations: 1.25 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.3538, allocations: 449.1 kB / 0.5333 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.3543, allocations: 297 kB / 0.5336 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.3547, allocations: 177.9 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.355, allocations: 174.5 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3551, allocations: 31.2 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3553, allocations: 110.8 kB / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3555, allocations: 211.7 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3556, allocations: 4.188 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3557, allocations: 56.56 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3558, allocations: 83.75 kB / 0.5344 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3559, allocations: 111.8 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.3563, allocations: 293 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3563, allocations: 0 / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3563, allocations: 0 / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3563, allocations: 1.25 kB / 0.5347 GB, free: 10.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008741/0.3572, allocations: 0.6724 MB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3573, allocations: 10.28 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.3573, allocations: 40.11 kB / 0.5355 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.3574, allocations: 43.81 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3577, allocations: 301.7 kB / 0.5358 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3577, allocations: 5.125 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3578, allocations: 3.219 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3579, allocations: 65.98 kB / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.358, allocations: 5.047 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.358, allocations: 4 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.358, allocations: 1.156 kB / 0.5359 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3581, allocations: 35.66 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3587, allocations: 417.7 kB / 0.5363 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3588, allocations: 44.95 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.3589, allocations: 20.45 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3589, allocations: 1.188 kB / 0.5364 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3589, allocations: 44.02 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.359, allocations: 0 / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.36, allocations: 328 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.36, allocations: 65.47 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.3609, allocations: 0.87 MB / 0.5376 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.361, allocations: 25.7 kB / 0.5377 GB, free: 8.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3612, allocations: 235 kB / 0.5379 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3612, allocations: 23 kB / 0.5379 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.3613, allocations: 24.55 kB / 0.5379 GB, free: 8.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3615, allocations: 363.8 kB / 0.5383 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.359e-05/0.3616, allocations: 33.48 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.3617, allocations: 33.17 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3618, allocations: 75.09 kB / 0.5384 GB, free: 7.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3619, allocations: 0 / 0.5384 GB, free: 7.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002647/0.3621, allocations: 148.1 kB / 0.5385 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3621, allocations: 8.812 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3622, allocations: 5.5 kB / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3622, allocations: 0 / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3623, allocations: 25.92 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3623, allocations: 4.062 kB / 0.5386 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.3624, allocations: 8.047 kB / 0.5386 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3624, allocations: 7.031 kB / 0.5386 GB, free: 7.547 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 (8): * Single equations (assignments): 8 * 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.0002066/0.3626, allocations: 210.6 kB / 0.5388 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.3627, allocations: 42.75 kB / 0.5388 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.3631, allocations: 179.6 kB / 0.539 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3631, allocations: 9.078 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3631, allocations: 0 / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3631, allocations: 1.094 kB / 0.539 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.3639, allocations: 0.5237 MB / 0.5395 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3639, allocations: 1.094 kB / 0.5395 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.3639, allocations: 17.53 kB / 0.5396 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.364, allocations: 5.047 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.364, allocations: 2.188 kB / 0.5396 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.364, allocations: 5.062 kB / 0.5396 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.364, allocations: 0 / 0.5396 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3643, allocations: 255.5 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3645, allocations: 128.5 kB / 0.5399 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.3645, allocations: 1.312 kB / 0.5399 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.3646, allocations: 7 kB / 0.5399 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.3646, allocations: 8.453 kB / 0.5399 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3647, allocations: 2.438 kB / 0.5399 GB, free: 6.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007308/0.3654, allocations: 0.6604 MB / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3654, allocations: 0 / 0.5406 GB, free: 6.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3657, allocations: 26.91 kB / 0.5406 GB, free: 6.117 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002317/0.368, allocations: 1.137 MB / 0.5417 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3683, allocations: 76.41 kB / 0.5418 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3683, allocations: 0 / 0.5418 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3684, allocations: 44.88 kB / 0.5418 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3688, allocations: 35.41 kB / 0.5419 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.3732, allocations: 3.395 MB / 0.5452 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3738, allocations: 0.8338 MB / 0.546 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.79e-05/0.3739, allocations: 20.73 kB / 0.546 GB, free: 1.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3741, allocations: 123.4 kB / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3741, allocations: 0 / 0.5461 GB, free: 1.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.4043, allocations: 6.464 MB / 0.5525 GB, free: 11.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.053, allocations: 8.469 kB / 0.5525 GB, free: 11.15 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1)