Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, 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.001387/0.001387, allocations: 198 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.455/1.455, allocations: 227.4 MB / 247 MB, free: 10.48 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.2482/0.2482, allocations: 46.11 MB / 344.3 MB, free: 11.49 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.00234/0.00234, allocations: 75.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3785, allocations: 62.45 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003193/0.3817, allocations: 1.606 MB / 0.5322 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3836, allocations: 1.159 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.3837, allocations: 1.375 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.384, allocations: 35.95 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.3844, allocations: 86.52 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3847, allocations: 109.5 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.3849, allocations: 67.3 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3851, allocations: 14.28 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.3851, allocations: 30.12 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3853, allocations: 27.77 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3853, allocations: 3.562 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.3856, allocations: 103.5 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.3856, allocations: 15.33 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.3857, allocations: 24.3 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.386, allocations: 142.6 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.386, allocations: 1.281 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.386, allocations: 0 / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.386, allocations: 0 / 0.534 GB, free: 10.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006778/0.3867, allocations: 403.4 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3868, allocations: 9.406 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.3868, allocations: 35.97 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3869, allocations: 8.484 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3871, allocations: 198.2 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.3872, allocations: 384 / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3872, allocations: 2.75 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3874, allocations: 72.14 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3874, allocations: 4 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3874, allocations: 1.562 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3874, allocations: 3.938 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.3875, allocations: 29.8 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.388, allocations: 284.4 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3882, allocations: 49.34 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.3883, allocations: 19.81 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3883, allocations: 1.219 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3883, allocations: 34.5 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3884, allocations: 1.281 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006272/0.389, allocations: 154.1 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.3891, allocations: 78.67 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3892, allocations: 141.7 kB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3893, allocations: 25.7 kB / 0.5354 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.3893, allocations: 100.2 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3894, allocations: 17.23 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.3894, allocations: 15.22 kB / 0.5356 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3896, allocations: 324.1 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.739e-05/0.3897, allocations: 24.36 kB / 0.5359 GB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.3898, allocations: 35.62 kB / 0.5359 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.3899, allocations: 56.33 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3899, allocations: 0 / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002059/0.3901, allocations: 90.55 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3902, allocations: 9.531 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3902, allocations: 1.375 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.3902, allocations: 0 / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.3903, allocations: 9.625 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3903, allocations: 1.375 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.058e-05/0.3904, allocations: 10.67 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3904, allocations: 5.375 kB / 0.5361 GB, free: 8.711 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 (5): * Single equations (assignments): 5 * 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.0001043/0.3905, allocations: 114 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3905, allocations: 8.078 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.3908, allocations: 104.3 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3908, allocations: 1.375 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3908, allocations: 0 / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3908, allocations: 3.938 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.3913, allocations: 356 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3913, allocations: 3.938 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3914, allocations: 21.55 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3914, allocations: 0 / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3914, allocations: 5.312 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3914, allocations: 192 / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3915, allocations: 5.375 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3917, allocations: 182.8 kB / 0.5369 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.3918, allocations: 82.22 kB / 0.537 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3918, allocations: 9 kB / 0.537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.3919, allocations: 7.172 kB / 0.537 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3919, allocations: 2.219 kB / 0.537 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.392, allocations: 6.156 kB / 0.537 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.3921, allocations: 115.9 kB / 0.5371 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3921, allocations: 3.938 kB / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.3924, allocations: 40.77 kB / 0.5371 GB, free: 7.742 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 (5): * Single equations (assignments): 5 * 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.002267/0.3947, allocations: 1.102 MB / 0.5382 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.3949, allocations: 55.95 kB / 0.5383 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3949, allocations: 3.938 kB / 0.5383 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.395, allocations: 24.77 kB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3954, allocations: 19.86 kB / 0.5383 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3972, allocations: 1.444 MB / 0.5397 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3975, allocations: 0.6946 MB / 0.5404 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.3976, allocations: 33.33 kB / 0.5404 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.3977, allocations: 31 kB / 0.5405 GB, free: 4.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3977, allocations: 0 / 0.5405 GB, free: 4.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4248, allocations: 3.253 MB / 0.5436 GB, free: 2.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.446, allocations: 3.25 kB / 0.5436 GB, free: 2.906 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1)