Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001722, allocations: 197.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.437/1.437, 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.2621/0.2621, 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.002257/0.002257, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.378, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003212/0.3812, allocations: 1.656 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3832, allocations: 1.2 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3833, allocations: 5.781 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3836, allocations: 31.47 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.3839, allocations: 82.44 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.3843, allocations: 176.8 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3845, allocations: 78.48 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3846, allocations: 15 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.3847, allocations: 34.84 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3849, allocations: 36.22 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3849, allocations: 5.5 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3851, allocations: 108.1 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.3851, allocations: 22.78 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.3852, allocations: 25.31 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3855, allocations: 159.5 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3855, allocations: 0 / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3855, allocations: 3.938 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3855, allocations: 3.938 kB / 0.5342 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005923/0.3861, allocations: 419.7 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3861, allocations: 13.61 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.3862, allocations: 36.12 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3862, allocations: 9.016 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.3865, allocations: 199.2 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.3865, allocations: 1.75 kB / 0.5348 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.3866, allocations: 7.125 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.3868, allocations: 86.44 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3868, allocations: 0 / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3868, allocations: 1.375 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3868, allocations: 5.375 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.387, allocations: 37.97 kB / 0.535 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.3875, allocations: 315.1 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3876, allocations: 49.73 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.3877, allocations: 27.94 kB / 0.5353 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3878, allocations: 1.375 kB / 0.5353 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3878, allocations: 35.94 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3878, allocations: 0 / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000887/0.3887, allocations: 231.2 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.3888, allocations: 82.42 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.389, allocations: 159.6 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.389, allocations: 25.7 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.3891, allocations: 104.5 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3892, allocations: 22.06 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.3892, allocations: 20.58 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3894, allocations: 325.3 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.3895, allocations: 41.17 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3897, allocations: 54.73 kB / 0.5364 GB, free: 8.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.39, allocations: 94.55 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.39, allocations: 0 / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000325/0.3903, allocations: 121 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3903, allocations: 5.656 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3903, allocations: 0 / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3904, allocations: 1.188 kB / 0.5366 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3905, allocations: 17.95 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3905, allocations: 5.062 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.3906, allocations: 22.73 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3906, allocations: 1.125 kB / 0.5366 GB, free: 8.336 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 (7): * Single equations (assignments): 7 * 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.000121/0.3908, allocations: 124.3 kB / 0.5368 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3908, allocations: 12.53 kB / 0.5368 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004038/0.3912, allocations: 146.8 kB / 0.5369 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3912, allocations: 9.234 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3912, allocations: 0 / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3913, allocations: 9.375 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.3919, allocations: 414.4 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3919, allocations: 1.406 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.392, allocations: 21.45 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.392, allocations: 1.219 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.392, allocations: 5.094 kB / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.392, allocations: 0 / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3921, allocations: 1.344 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.3924, allocations: 223.6 kB / 0.5376 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.3925, allocations: 95.7 kB / 0.5377 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3926, allocations: 5.375 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3927, allocations: 10.61 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3927, allocations: 2.75 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3927, allocations: 1.094 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3928, allocations: 123.2 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3929, allocations: 1.156 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3932, allocations: 42.98 kB / 0.5378 GB, free: 7.281 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 (7): * Single equations (assignments): 7 * 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.002374/0.3955, allocations: 1.153 MB / 0.539 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.3959, allocations: 96.45 kB / 0.5391 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3959, allocations: 0 / 0.5391 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3961, allocations: 44.81 kB / 0.5391 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3965, allocations: 21.58 kB / 0.5391 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.399, allocations: 1.64 MB / 0.5407 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3994, allocations: 0.7055 MB / 0.5414 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.3995, allocations: 31.97 kB / 0.5414 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.3996, allocations: 35.94 kB / 0.5415 GB, free: 4.156 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3996, allocations: 0 / 0.5415 GB, free: 4.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.4265, allocations: 3.6 MB / 0.545 GB, free: 2.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.647, allocations: 6.281 kB / 0.545 GB, free: 2.133 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1)