Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, 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.2359/0.2359, allocations: 46.13 MB / 344.4 MB, free: 11.42 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.00231/0.00231, allocations: 79.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3784, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003227/0.3817, allocations: 1.613 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3839, allocations: 1.173 MB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.182e-05/0.384, allocations: 0 / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.3844, allocations: 33.59 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3847, allocations: 80.84 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3851, allocations: 115.2 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3853, allocations: 79.5 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3854, allocations: 19 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.3855, allocations: 26.92 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.3857, allocations: 45.52 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3857, allocations: 4.125 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.3859, allocations: 100.2 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.3859, allocations: 17.44 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.386, allocations: 38.59 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.3863, allocations: 150.2 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3863, allocations: 3.938 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3863, allocations: 0 / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3863, allocations: 0 / 0.534 GB, free: 10.72 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.0006397/0.387, allocations: 423.5 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.387, allocations: 9.625 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.659e-05/0.3871, allocations: 40.11 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.3872, allocations: 14.39 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.3874, allocations: 193.8 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3875, allocations: 3.125 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.3875, allocations: 7.125 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3877, allocations: 74.58 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3877, allocations: 9.266 kB / 0.5348 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3878, allocations: 4 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3878, allocations: 1.375 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3879, allocations: 40.58 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.3884, allocations: 305.8 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.3886, allocations: 57.95 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.3887, allocations: 22.59 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.3887, allocations: 5.359 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.3887, allocations: 35.94 kB / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3887, allocations: 0 / 0.5352 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007557/0.3895, allocations: 201.8 kB / 0.5354 GB, free: 9.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.3896, allocations: 78.52 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3898, allocations: 163.1 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3898, allocations: 30.48 kB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.3899, allocations: 95.91 kB / 0.5358 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.39, allocations: 27.06 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.39, allocations: 24.67 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3902, allocations: 321.5 kB / 0.5361 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.3903, allocations: 27.27 kB / 0.5361 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3904, allocations: 49.41 kB / 0.5362 GB, free: 8.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3906, allocations: 68.89 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3907, allocations: 0 / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002546/0.3909, allocations: 111.8 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3909, allocations: 5.375 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.391, allocations: 3.938 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.391, allocations: 1.094 kB / 0.5364 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3911, allocations: 17.58 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3911, allocations: 13.06 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.3912, allocations: 7.344 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3912, allocations: 2.219 kB / 0.5364 GB, free: 8.469 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.0001161/0.3913, allocations: 119.6 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.3914, allocations: 12.88 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.3918, allocations: 123.3 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3918, allocations: 1.156 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3918, allocations: 9.156 kB / 0.5367 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3918, allocations: 7.984 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.3924, allocations: 404.3 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3924, allocations: 0 / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.3925, allocations: 22.08 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3925, allocations: 1.25 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3926, allocations: 1.125 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3926, allocations: 4 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3926, allocations: 0 / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.3929, allocations: 203.6 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.393, allocations: 95.67 kB / 0.5374 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.393, allocations: 5.375 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.3931, allocations: 2.75 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3931, allocations: 7.703 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3931, allocations: 5.25 kB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3932, allocations: 119.5 kB / 0.5375 GB, free: 7.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3933, allocations: 0 / 0.5375 GB, free: 7.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.3936, allocations: 42.31 kB / 0.5375 GB, free: 7.449 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 (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.002297/0.3959, allocations: 1.14 MB / 0.5387 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.3962, allocations: 75.53 kB / 0.5387 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3962, allocations: 0 / 0.5387 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3963, allocations: 39.67 kB / 0.5388 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3967, allocations: 24.64 kB / 0.5388 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3989, allocations: 1.545 MB / 0.5403 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.3993, allocations: 0.6947 MB / 0.541 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.3994, allocations: 24.8 kB / 0.541 GB, free: 4.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.559e-05/0.3995, allocations: 35.91 kB / 0.541 GB, free: 4.387 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3996, allocations: 0 / 0.541 GB, free: 4.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.4295, allocations: 3.459 MB / 0.5444 GB, free: 2.434 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.575, allocations: 5.844 kB / 0.5444 GB, free: 2.434 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1)