Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.001808/0.001808, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002088/0.002088, allocations: 206 kB / 18.74 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.48/1.48, 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.2428/0.2428, allocations: 46.12 MB / 344.4 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.002331/0.002331, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3867, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003125/0.3899, allocations: 1.602 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3918, allocations: 1.163 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.3919, allocations: 1.375 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3921, allocations: 27.97 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.3924, allocations: 85.73 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.3927, allocations: 117.8 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3929, allocations: 58.59 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.393e-05/0.393, allocations: 15.98 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.393, allocations: 30.38 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3932, allocations: 33.73 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3932, allocations: 4.844 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3934, allocations: 95.23 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.3934, allocations: 11.38 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.3935, allocations: 37.06 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.3938, allocations: 137.4 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3938, allocations: 1.219 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3938, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3938, allocations: 0 / 0.534 GB, free: 10.82 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.0005214/0.3943, allocations: 403.9 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3944, allocations: 9.719 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.3944, allocations: 31.94 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3945, allocations: 8.109 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.3947, allocations: 205 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.3947, allocations: 1.656 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3947, allocations: 6.844 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3949, allocations: 64.36 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3949, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3949, allocations: 5.219 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3949, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.395, allocations: 26.89 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.3954, allocations: 287.6 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3956, allocations: 44.23 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.3957, allocations: 15.8 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3957, allocations: 9.031 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3958, allocations: 35.88 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3958, allocations: 0 / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005537/0.3963, allocations: 154.7 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3964, allocations: 78.61 kB / 0.5353 GB, free: 9.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3966, allocations: 147.5 kB / 0.5354 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.3966, allocations: 27.08 kB / 0.5354 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.3967, allocations: 102.8 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3967, allocations: 18.61 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.3967, allocations: 17.84 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3969, allocations: 321.5 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.3969, allocations: 24.3 kB / 0.5359 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.397, allocations: 35.45 kB / 0.5359 GB, free: 8.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.3972, allocations: 58.97 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3972, allocations: 1.375 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.3974, allocations: 78.62 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3974, allocations: 5.5 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3974, allocations: 0 / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3974, allocations: 5.359 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.3975, allocations: 13.56 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3975, allocations: 4 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.3976, allocations: 16.05 kB / 0.5361 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3976, allocations: 1.375 kB / 0.5361 GB, free: 8.688 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 8.302e-05/0.3977, allocations: 114 kB / 0.5362 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3977, allocations: 8.078 kB / 0.5362 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.398, allocations: 100.3 kB / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.398, allocations: 0 / 0.5363 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.398, allocations: 4 kB / 0.5363 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.398, allocations: 5.312 kB / 0.5363 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.3985, allocations: 359 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.3985, allocations: 5.375 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.3985, allocations: 17.55 kB / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3986, allocations: 0 / 0.5367 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3986, allocations: 9.312 kB / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3986, allocations: 0 / 0.5367 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3986, allocations: 4 kB / 0.5367 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3989, allocations: 182.6 kB / 0.5369 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.3989, allocations: 83.22 kB / 0.537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.399, allocations: 5.094 kB / 0.537 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.399, allocations: 11.33 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.3991, allocations: 2.219 kB / 0.537 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3991, allocations: 5.156 kB / 0.537 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.3992, allocations: 117.2 kB / 0.5371 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3992, allocations: 0 / 0.5371 GB, free: 7.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.3995, allocations: 35.44 kB / 0.5371 GB, free: 7.723 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.002474/0.402, allocations: 1.105 MB / 0.5382 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.4023, allocations: 54.95 kB / 0.5383 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4023, allocations: 0 / 0.5383 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.4024, allocations: 28.83 kB / 0.5383 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4028, allocations: 15.98 kB / 0.5383 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.4049, allocations: 1.455 MB / 0.5397 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.4052, allocations: 0.6898 MB / 0.5404 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.4053, allocations: 26.39 kB / 0.5404 GB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.4054, allocations: 26.55 kB / 0.5405 GB, free: 4.75 MB / 398.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4054, allocations: 0 / 0.5405 GB, free: 4.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.4329, allocations: 3.261 MB / 0.5436 GB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.566, allocations: 3.281 kB / 0.5436 GB, free: 2.883 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19_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_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1)