Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.41 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.2279/0.2279, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.002276/0.002276, allocations: 79.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3783, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003044/0.3814, allocations: 1.943 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3833, allocations: 1.089 MB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3834, allocations: 1.375 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.384, allocations: 258.3 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005134/0.3845, allocations: 261.3 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3859, allocations: 0.6362 MB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3863, allocations: 317 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3865, allocations: 58.83 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.3867, allocations: 130.6 kB / 0.5352 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3869, allocations: 204 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.387, allocations: 7.812 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3871, allocations: 54.39 kB / 0.5354 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3872, allocations: 91.64 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3874, allocations: 127.8 kB / 0.5356 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.3878, allocations: 307.4 kB / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3878, allocations: 0 / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3878, allocations: 0 / 0.5359 GB, free: 9.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3878, allocations: 1.156 kB / 0.5359 GB, free: 9.551 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000811/0.3886, allocations: 0.6819 MB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3887, allocations: 9.094 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.3887, allocations: 41.28 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.3888, allocations: 46.92 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.3892, allocations: 343.4 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.3892, allocations: 3.875 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3893, allocations: 7.844 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3895, allocations: 98.61 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3895, allocations: 0 / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3895, allocations: 4.969 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3895, allocations: 1.75 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3897, allocations: 74 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.3904, allocations: 484.6 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3905, allocations: 73.89 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3906, allocations: 32.25 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3907, allocations: 2.469 kB / 0.5378 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3907, allocations: 35.77 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3907, allocations: 0 / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003715/0.3911, allocations: 169.2 kB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3911, allocations: 59.34 kB / 0.538 GB, free: 7.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.3918, allocations: 0.5952 MB / 0.5386 GB, free: 7.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3918, allocations: 25.7 kB / 0.5386 GB, free: 7.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.392, allocations: 210.7 kB / 0.5388 GB, free: 7.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.392, allocations: 22.94 kB / 0.5389 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.3921, allocations: 19.06 kB / 0.5389 GB, free: 7.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3923, allocations: 359.6 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.3924, allocations: 26.5 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.3924, allocations: 25.92 kB / 0.5393 GB, free: 6.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3926, allocations: 61.52 kB / 0.5393 GB, free: 6.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3926, allocations: 0.8125 kB / 0.5393 GB, free: 6.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002298/0.3928, allocations: 138.8 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3928, allocations: 5.5 kB / 0.5395 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3929, allocations: 4 kB / 0.5395 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3929, allocations: 3.938 kB / 0.5395 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.393, allocations: 18.12 kB / 0.5395 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.393, allocations: 1.625 kB / 0.5395 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.3931, allocations: 4.125 kB / 0.5395 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3931, allocations: 1.531 kB / 0.5395 GB, free: 6.613 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 (6): * Single equations (assignments): 6 * 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.0001589/0.3932, allocations: 172 kB / 0.5397 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.3933, allocations: 42.09 kB / 0.5397 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.3936, allocations: 167.2 kB / 0.5399 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3936, allocations: 5.094 kB / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3936, allocations: 0 / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3937, allocations: 0 / 0.5399 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.394, allocations: 315.7 kB / 0.5402 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.394, allocations: 0 / 0.5402 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.3941, allocations: 14.7 kB / 0.5402 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3941, allocations: 0 / 0.5402 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3941, allocations: 1.781 kB / 0.5402 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3941, allocations: 3.938 kB / 0.5402 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3941, allocations: 0 / 0.5402 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3944, allocations: 235 kB / 0.5404 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3945, allocations: 123 kB / 0.5405 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3945, allocations: 1.438 kB / 0.5405 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.3946, allocations: 6.531 kB / 0.5405 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3947, allocations: 6.297 kB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3947, allocations: 2.25 kB / 0.5405 GB, free: 5.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004673/0.3952, allocations: 456.1 kB / 0.541 GB, free: 5.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3952, allocations: 0 / 0.541 GB, free: 5.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3954, allocations: 37.95 kB / 0.541 GB, free: 5.457 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 (6): * Single equations (assignments): 6 * 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.002681/0.3981, allocations: 1.247 MB / 0.5422 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3984, allocations: 69.64 kB / 0.5423 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3984, allocations: 3.938 kB / 0.5423 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.3985, allocations: 32.77 kB / 0.5423 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.3991, allocations: 77.95 kB / 0.5424 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.4028, allocations: 2.978 MB / 0.5453 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4033, allocations: 0.812 MB / 0.5461 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.4035, allocations: 49.91 kB / 0.5462 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.4037, allocations: 115.4 kB / 0.5463 GB, free: 1.477 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4037, allocations: 0 / 0.5463 GB, free: 1.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.4341, allocations: 6.992 MB / 0.5531 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/9.051, allocations: 12.86 kB / 0.5531 GB, free: 10.57 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1)