Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 122.8 kB / 17.79 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.0013/0.0013, allocations: 201.2 kB / 18.73 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.486/1.486, allocations: 227.4 MB / 247 MB, free: 10.47 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.2405/0.2405, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002516/0.002517, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3865, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003386/0.3899, allocations: 1.676 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3911, allocations: 0.5551 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.3912, allocations: 1.5 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006414/0.3918, allocations: 460.2 kB / 0.5333 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.3924, allocations: 289.2 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.3928, allocations: 137.7 kB / 0.5337 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.393, allocations: 169.2 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.3932, allocations: 20.23 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3934, allocations: 114.8 kB / 0.534 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3937, allocations: 214 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3937, allocations: 3.719 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3938, allocations: 57.03 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.394, allocations: 85.72 kB / 0.5343 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3941, allocations: 104 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.3946, allocations: 283.9 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3946, allocations: 0 / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3946, allocations: 0 / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.3946, allocations: 0 / 0.5347 GB, free: 10.68 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.0008546/0.3955, allocations: 0.6805 MB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3955, allocations: 9.812 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.3956, allocations: 32.03 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.3956, allocations: 44.16 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.396, allocations: 307.7 kB / 0.5357 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.396, allocations: 5.625 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.396, allocations: 3.719 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3962, allocations: 55.94 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3962, allocations: 9.188 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3962, allocations: 4 kB / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3962, allocations: 1.281 kB / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3964, allocations: 28.2 kB / 0.5358 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.3969, allocations: 404.8 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.397, allocations: 46.27 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.3971, allocations: 20.36 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3971, allocations: 1.406 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3972, allocations: 35.88 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3972, allocations: 0 / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000988/0.3982, allocations: 316.5 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3982, allocations: 56.62 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.3992, allocations: 0.8689 MB / 0.5375 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3993, allocations: 27.02 kB / 0.5375 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3995, allocations: 225.8 kB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3995, allocations: 26.23 kB / 0.5378 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.3996, allocations: 24.38 kB / 0.5378 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3998, allocations: 364.8 kB / 0.5381 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.502e-05/0.3999, allocations: 25.52 kB / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/0.3999, allocations: 22.45 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.4001, allocations: 73.5 kB / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4001, allocations: 0 / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002524/0.4004, allocations: 138.6 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4004, allocations: 10.03 kB / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4004, allocations: 0 / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4004, allocations: 0 / 0.5384 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4005, allocations: 21.95 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4006, allocations: 5.531 kB / 0.5384 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.4006, allocations: 3.125 kB / 0.5384 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.4006, allocations: 1.562 kB / 0.5384 GB, free: 7.68 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.0002015/0.4008, allocations: 222.8 kB / 0.5386 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.4009, allocations: 51.58 kB / 0.5387 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.4013, allocations: 156.7 kB / 0.5388 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4013, allocations: 5.062 kB / 0.5388 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4013, allocations: 0 / 0.5388 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4014, allocations: 3.984 kB / 0.5388 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.402, allocations: 0.5035 MB / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4021, allocations: 1.156 kB / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.4021, allocations: 22.3 kB / 0.5394 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4021, allocations: 1.219 kB / 0.5394 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4022, allocations: 1.125 kB / 0.5394 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4022, allocations: 5.078 kB / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4022, allocations: 0 / 0.5394 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.4025, allocations: 243.9 kB / 0.5396 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.793e-05/0.4026, allocations: 119.5 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.4026, allocations: 1.438 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.4027, allocations: 7.078 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4028, allocations: 8.156 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4028, allocations: 2.875 kB / 0.5397 GB, free: 6.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007383/0.4035, allocations: 0.663 MB / 0.5404 GB, free: 6.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4036, allocations: 4 kB / 0.5404 GB, free: 6.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.4038, allocations: 30.16 kB / 0.5404 GB, free: 6.262 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.002248/0.4061, allocations: 1.129 MB / 0.5415 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.4064, allocations: 69.95 kB / 0.5416 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4064, allocations: 1.125 kB / 0.5416 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4065, allocations: 38.14 kB / 0.5416 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.4069, allocations: 29.12 kB / 0.5416 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.4113, allocations: 3.336 MB / 0.5449 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.4118, allocations: 0.8299 MB / 0.5457 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.726e-05/0.4119, allocations: 20.41 kB / 0.5457 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.4121, allocations: 103.4 kB / 0.5458 GB, free: 1.848 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4121, allocations: 4 kB / 0.5458 GB, free: 1.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.4426, allocations: 6.382 MB / 0.5521 GB, free: 11.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/9.073, allocations: 12.75 kB / 0.5521 GB, free: 11.54 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1)