Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, 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.001456/0.001456, 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.537/1.537, 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.2286/0.2286, allocations: 46.12 MB / 344.3 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.002249/0.002249, allocations: 92.06 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3895, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003346/0.3929, allocations: 1.59 MB / 0.5322 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3943, allocations: 0.5491 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.3943, allocations: 1.219 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.3946, allocations: 28.42 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.3949, allocations: 75.8 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3953, allocations: 116.2 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3954, allocations: 65.09 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3956, allocations: 14.86 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.3956, allocations: 20.12 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.3957, allocations: 26.72 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3957, allocations: 2.75 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.3958, allocations: 32.61 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.3959, allocations: 17.42 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.795e-05/0.3959, allocations: 27.92 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3961, allocations: 86.95 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3961, allocations: 0 / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3961, allocations: 3.938 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3962, allocations: 0 / 0.5332 GB, free: 11.39 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.0005503/0.3967, allocations: 390.3 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3968, allocations: 13.61 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.3968, allocations: 36.12 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3969, allocations: 12.97 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3971, allocations: 201.9 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3971, allocations: 9.5 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3971, allocations: 1.375 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3973, allocations: 44.69 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3973, allocations: 5.312 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3973, allocations: 4 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3973, allocations: 5.312 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.3974, allocations: 25.72 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.3979, allocations: 282.2 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3981, allocations: 47.23 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.3982, allocations: 15.86 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3982, allocations: 1.312 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3982, allocations: 35.55 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.416e-06/0.3982, allocations: 4 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006034/0.3988, allocations: 156.6 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.3989, allocations: 55.39 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3991, allocations: 182.1 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3991, allocations: 25.7 kB / 0.5347 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.3992, allocations: 103.7 kB / 0.5348 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3992, allocations: 18.12 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3993, allocations: 14.16 kB / 0.5348 GB, free: 9.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3994, allocations: 322.3 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.3995, allocations: 20.08 kB / 0.5352 GB, free: 9.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.3996, allocations: 19.2 kB / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3997, allocations: 55.91 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3997, allocations: 4 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.3999, allocations: 91.58 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4, allocations: 5.906 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4, allocations: 0 / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4, allocations: 1.188 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.4001, allocations: 17.5 kB / 0.5353 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.4001, allocations: 3.938 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.4001, allocations: 7.516 kB / 0.5353 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4001, allocations: 1.188 kB / 0.5354 GB, free: 9.316 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 9.858e-05/0.4002, allocations: 125.8 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.4003, allocations: 7.422 kB / 0.5355 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.4006, allocations: 101.3 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4006, allocations: 1.062 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4006, allocations: 5.031 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4006, allocations: 0 / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.4011, allocations: 358.5 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4011, allocations: 4.047 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/0.4012, allocations: 17.75 kB / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4012, allocations: 3.938 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4012, allocations: 1.188 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4012, allocations: 0 / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4012, allocations: 1.219 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.4015, allocations: 187.2 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4016, allocations: 94.31 kB / 0.5362 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.4016, allocations: 5.312 kB / 0.5362 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.4017, allocations: 2.75 kB / 0.5362 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.4017, allocations: 2.75 kB / 0.5362 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4017, allocations: 5.359 kB / 0.5362 GB, free: 8.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.4018, allocations: 140.6 kB / 0.5364 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4019, allocations: 0 / 0.5364 GB, free: 8.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00025/0.4021, allocations: 22.94 kB / 0.5364 GB, free: 8.348 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.001905/0.404, allocations: 1.011 MB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.4043, allocations: 53.61 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4043, allocations: 1.562 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.4044, allocations: 28.58 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4047, allocations: 14.77 kB / 0.5375 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4067, allocations: 1.517 MB / 0.539 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4071, allocations: 0.6981 MB / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.4071, allocations: 20.05 kB / 0.5397 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.4072, allocations: 32.98 kB / 0.5397 GB, free: 5.391 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4072, allocations: 0 / 0.5397 GB, free: 5.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.4317, allocations: 2.688 MB / 0.5423 GB, free: 3.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.481, allocations: 14.42 kB / 0.5423 GB, free: 3.891 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1)