Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, 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.001271/0.001271, 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.502/1.502, allocations: 227.4 MB / 247 MB, free: 10.39 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.2381/0.2381, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.00266/0.00266, allocations: 80.16 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4158, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.00317/0.4191, allocations: 1.616 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4202, allocations: 0.5439 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.4203, allocations: 2.406 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.4206, allocations: 85.44 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.421, allocations: 101.6 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.4213, allocations: 106 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4215, allocations: 88.86 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4216, allocations: 21.61 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.4217, allocations: 35.03 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4218, allocations: 52.7 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.4219, allocations: 2.75 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.422, allocations: 50.22 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.345e-05/0.4221, allocations: 22.8 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.4221, allocations: 34.44 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.4223, allocations: 112.7 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4223, allocations: 0.9688 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4223, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4224, allocations: 0 / 0.5334 GB, free: 11.28 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005676/0.4229, allocations: 411.6 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.423, allocations: 10.41 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.423, allocations: 35.86 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.4231, allocations: 13.47 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.4233, allocations: 216.5 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.4233, allocations: 5.828 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4234, allocations: 7.125 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.4235, allocations: 54.45 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4236, allocations: 1.344 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4236, allocations: 4 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4236, allocations: 5.406 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.4237, allocations: 23.2 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.4242, allocations: 304.1 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.4243, allocations: 44.28 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.913e-05/0.4244, allocations: 20.75 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4244, allocations: 1.188 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4244, allocations: 35.59 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.4244, allocations: 4 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001008/0.4255, allocations: 242.7 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.4255, allocations: 56.44 kB / 0.5349 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.4258, allocations: 218.4 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.4259, allocations: 26.92 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.4259, allocations: 108.8 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.426, allocations: 27.62 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.426, allocations: 24.33 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4262, allocations: 322 kB / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.4263, allocations: 32.95 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.4264, allocations: 32.47 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.4266, allocations: 74.19 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4266, allocations: 0 / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000268/0.4269, allocations: 117.6 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4269, allocations: 8.109 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4269, allocations: 1.375 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.427, allocations: 0 / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.4271, allocations: 17.73 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.629e-06/0.4271, allocations: 9.312 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.4272, allocations: 6.75 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4272, allocations: 2.75 kB / 0.5358 GB, free: 9.062 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.0001492/0.4273, allocations: 124.8 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.4274, allocations: 13.41 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.4278, allocations: 134.2 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4278, allocations: 8.938 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4278, allocations: 3.938 kB / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4278, allocations: 432 / 0.5361 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.4285, allocations: 419.5 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4285, allocations: 1.031 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.4286, allocations: 21.86 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4286, allocations: 1.094 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4286, allocations: 9.094 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4287, allocations: 1.094 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4287, allocations: 1.031 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.429, allocations: 212.5 kB / 0.5367 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4291, allocations: 96.91 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.4291, allocations: 1.156 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.4292, allocations: 7.312 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.4292, allocations: 6.641 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4292, allocations: 2.5 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.4294, allocations: 167.7 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4294, allocations: 3.938 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.4297, allocations: 22.66 kB / 0.537 GB, free: 7.996 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 (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.002312/0.4321, allocations: 1.106 MB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.4323, allocations: 71.52 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4323, allocations: 0 / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4325, allocations: 48.38 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.4329, allocations: 22.83 kB / 0.5383 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4351, allocations: 1.709 MB / 0.5399 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4355, allocations: 0.7086 MB / 0.5406 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.44e-05/0.4356, allocations: 25.08 kB / 0.5406 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.4357, allocations: 37.05 kB / 0.5407 GB, free: 4.855 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4357, allocations: 0 / 0.5407 GB, free: 4.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.4619, allocations: 3.162 MB / 0.5438 GB, free: 3.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.474, allocations: 27.06 kB / 0.5438 GB, free: 3.129 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1)