Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00233/0.002331, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 227.4 MB / 247 MB, free: 10.46 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.2338/0.2338, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.003901/0.003901, allocations: 79.88 kB / 481 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4104, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00327/0.4137, allocations: 1.722 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.4155, allocations: 1.026 MB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.411e-05/0.4156, allocations: 1.219 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.416, allocations: 36.84 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.4164, allocations: 90.22 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.4167, allocations: 86.91 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.4169, allocations: 100.9 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.4171, allocations: 10.88 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.4172, allocations: 40.28 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.4173, allocations: 41.34 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.4173, allocations: 4.125 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.4175, allocations: 43.47 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.4175, allocations: 13.44 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.4176, allocations: 36.05 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.4179, allocations: 115.1 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4179, allocations: 0 / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4179, allocations: 1.375 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4179, allocations: 3.938 kB / 0.534 GB, free: 10.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006667/0.4186, allocations: 422.1 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4186, allocations: 9.625 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.4187, allocations: 32.12 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.4187, allocations: 13.02 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.4191, allocations: 207.4 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4191, allocations: 1.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4191, allocations: 6.688 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4193, allocations: 54.05 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4193, allocations: 3.938 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4193, allocations: 1.375 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4193, allocations: 0 / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.059e-05/0.4194, allocations: 22.98 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.4198, allocations: 293.4 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.42, allocations: 53.92 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.42, allocations: 21.05 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4201, allocations: 1.375 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4202, allocations: 73.44 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4202, allocations: 0 / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000568/0.4208, allocations: 173.8 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4209, allocations: 52.88 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.421, allocations: 172.3 kB / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4211, allocations: 26.95 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.4211, allocations: 95.98 kB / 0.5356 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.4212, allocations: 31.27 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.4212, allocations: 24.97 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4214, allocations: 326.6 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.4215, allocations: 17.83 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.4216, allocations: 35.42 kB / 0.5361 GB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.4217, allocations: 67.39 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4217, allocations: 0 / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.4219, allocations: 103 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4219, allocations: 5.688 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4219, allocations: 1.125 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4219, allocations: 1.125 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.422, allocations: 20.58 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.422, allocations: 1.469 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.4221, allocations: 6.25 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.4221, allocations: 6.625 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001131/0.4222, allocations: 124.6 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.4223, allocations: 8.703 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.255e-05/0.4223, allocations: 25.14 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4223, allocations: 1.125 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4223, allocations: 1.094 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4223, allocations: 3.938 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.4228, allocations: 392.8 kB / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4228, allocations: 0 / 0.5368 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.4229, allocations: 11.5 kB / 0.5368 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4229, allocations: 5.188 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4229, allocations: 6.719 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4229, allocations: 0 / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4229, allocations: 1.188 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.4232, allocations: 196.1 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.4232, allocations: 91.27 kB / 0.5371 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.4233, allocations: 9.625 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.4233, allocations: 2.844 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.4234, allocations: 10.83 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4234, allocations: 4.125 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4235, allocations: 129 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4235, allocations: 0 / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4238, allocations: 28.05 kB / 0.5373 GB, free: 7.719 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002139/0.4259, allocations: 1.105 MB / 0.5383 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.4261, allocations: 57.66 kB / 0.5384 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4262, allocations: 0 / 0.5384 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.4262, allocations: 29.97 kB / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.4266, allocations: 32.38 kB / 0.5385 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.4284, allocations: 1.596 MB / 0.54 GB, free: 5.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4288, allocations: 0.7038 MB / 0.5407 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.312e-05/0.4288, allocations: 14.03 kB / 0.5407 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.4289, allocations: 35.45 kB / 0.5407 GB, free: 4.633 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4289, allocations: 0 / 0.5407 GB, free: 4.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.4537, allocations: 3.356 MB / 0.544 GB, free: 2.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.471, allocations: 4.562 kB / 0.544 GB, free: 2.82 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_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_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)