Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, 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.00138/0.001381, 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.474/1.474, 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.2336/0.2336, allocations: 46.12 MB / 344.3 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.002253/0.002254, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3674, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004068/0.3715, allocations: 2.11 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.3746, allocations: 1.395 MB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3748, allocations: 7.031 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.3753, allocations: 58.44 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007928/0.3761, allocations: 222.7 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.3781, allocations: 0.6166 MB / 0.5349 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.3789, allocations: 350.1 kB / 0.5352 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.3792, allocations: 80.06 kB / 0.5353 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.3796, allocations: 145.7 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.3801, allocations: 215.2 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.3801, allocations: 14.78 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.3804, allocations: 61.08 kB / 0.5357 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.3807, allocations: 149.1 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.381, allocations: 190.2 kB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009306/0.3819, allocations: 447.1 kB / 0.5365 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.382, allocations: 1.25 kB / 0.5365 GB, free: 9.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.097e-06/0.382, allocations: 0 / 0.5365 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.382, allocations: 0 / 0.5365 GB, free: 9.059 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001793/0.3838, allocations: 0.8692 MB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.3839, allocations: 9.875 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.384, allocations: 42.06 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005295/0.3845, allocations: 98.34 kB / 0.5375 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000915/0.3854, allocations: 0.4953 MB / 0.538 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.3854, allocations: 8.812 kB / 0.538 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.3855, allocations: 15.44 kB / 0.538 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.3859, allocations: 151.1 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.386, allocations: 9.109 kB / 0.5381 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.386, allocations: 4.938 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.386, allocations: 2.562 kB / 0.5382 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3864, allocations: 118.5 kB / 0.5383 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.3876, allocations: 0.7301 MB / 0.539 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.388, allocations: 140.1 kB / 0.5391 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.3881, allocations: 61.38 kB / 0.5392 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.3882, allocations: 7 kB / 0.5392 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3882, allocations: 39.89 kB / 0.5392 GB, free: 6.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 3.497e-06/0.3882, allocations: 3.984 kB / 0.5392 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002334/0.3906, allocations: 0.7711 MB / 0.54 GB, free: 6.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.3907, allocations: 79.58 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3919, allocations: 0.9334 MB / 0.541 GB, free: 5.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.3919, allocations: 25.7 kB / 0.541 GB, free: 5.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.3922, allocations: 283.8 kB / 0.5413 GB, free: 5.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.759e-05/0.3923, allocations: 75.14 kB / 0.5413 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.3924, allocations: 39.7 kB / 0.5414 GB, free: 5.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3925, allocations: 320.5 kB / 0.5417 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3928, allocations: 107 kB / 0.5418 GB, free: 5.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.3932, allocations: 125.3 kB / 0.5419 GB, free: 5.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.3938, allocations: 261.9 kB / 0.5421 GB, free: 4.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3939, allocations: 0 / 0.5421 GB, free: 4.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008423/0.3947, allocations: 353.2 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3947, allocations: 4.969 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3948, allocations: 1.125 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3948, allocations: 1.062 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.3951, allocations: 54.02 kB / 0.5425 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3951, allocations: 0.9688 kB / 0.5425 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3953, allocations: 30.03 kB / 0.5426 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3953, allocations: 4.75 kB / 0.5426 GB, free: 4.715 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002729/0.3956, allocations: 221.1 kB / 0.5428 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3957, allocations: 63.48 kB / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.3967, allocations: 402 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3967, allocations: 2.531 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3967, allocations: 1.25 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3967, allocations: 5.141 kB / 0.5432 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.3984, allocations: 0.9679 MB / 0.5442 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3984, allocations: 4 kB / 0.5442 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3987, allocations: 59.88 kB / 0.5442 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3987, allocations: 0 / 0.5442 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3987, allocations: 4 kB / 0.5442 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3987, allocations: 3.938 kB / 0.5442 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.3987, allocations: 12 kB / 0.5443 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.3996, allocations: 0.5122 MB / 0.5448 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3998, allocations: 160.7 kB / 0.5449 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.3999, allocations: 4 kB / 0.5449 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.4001, allocations: 31.91 kB / 0.5449 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.4002, allocations: 11.98 kB / 0.545 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.4002, allocations: 11.98 kB / 0.545 GB, free: 2.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000851/0.4011, allocations: 0.679 MB / 0.5456 GB, free: 1.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4011, allocations: 0 / 0.5456 GB, free: 1.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.4015, allocations: 60 kB / 0.5457 GB, free: 1.93 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 (20): * Single equations (assignments): 20 * 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.002615/0.4041, allocations: 1.357 MB / 0.547 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007408/0.4049, allocations: 263.6 kB / 0.5473 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4049, allocations: 0 / 0.5473 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.4053, allocations: 147.8 kB / 0.5474 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.4059, allocations: 84.36 kB / 0.5475 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.4137, allocations: 5.518 MB / 0.5529 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.4144, allocations: 0.8913 MB / 0.5537 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.4147, allocations: 119.2 kB / 0.5539 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.415, allocations: 191.4 kB / 0.554 GB, free: 9.363 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.415, allocations: 0 / 0.554 GB, free: 9.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.4529, allocations: 10.73 MB / 0.5645 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.948/9.401, allocations: 9.969 kB / 0.5645 GB, free: 14.74 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1)