Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00177/0.001769, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 202 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.506/1.506, allocations: 227.4 MB / 247 MB, free: 10.41 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.2425/0.2425, allocations: 46.11 MB / 344.4 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.002326/0.002326, allocations: 79.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3755, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003201/0.3788, allocations: 1.693 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.3805, allocations: 0.9953 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.3806, allocations: 5.25 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.381, allocations: 54.56 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.3813, allocations: 97.67 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3815, allocations: 74.95 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3817, allocations: 102 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.3818, allocations: 9.016 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.3819, allocations: 43.84 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.382, allocations: 32.94 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.382, allocations: 2.625 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.112e-05/0.3821, allocations: 28.59 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.3822, allocations: 31.38 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.297e-05/0.3823, allocations: 43.58 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3825, allocations: 123.6 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3825, allocations: 1.562 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3825, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3826, allocations: 0 / 0.5339 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006469/0.3832, allocations: 445.8 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3833, allocations: 13.61 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.3833, allocations: 32.06 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3834, allocations: 10.67 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3837, allocations: 224.3 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3837, allocations: 1.75 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3838, allocations: 5.312 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.3839, allocations: 51.23 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3839, allocations: 4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3839, allocations: 7.922 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.384, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.384, allocations: 16.23 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.3843, allocations: 187.6 kB / 0.5349 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3845, allocations: 55.11 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.208e-05/0.3846, allocations: 25.09 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3846, allocations: 1.375 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.3848, allocations: 71.7 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.3848, allocations: 0 / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003314/0.3851, allocations: 97.45 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3852, allocations: 52.78 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.3855, allocations: 271.3 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3855, allocations: 29.7 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3856, allocations: 120.3 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3857, allocations: 21.2 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.3857, allocations: 19.22 kB / 0.5356 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3859, allocations: 328.3 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.386, allocations: 14.86 kB / 0.5359 GB, free: 8.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.386, allocations: 23.34 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.3861, allocations: 47.58 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3862, allocations: 5.312 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001624/0.3863, allocations: 83.78 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3863, allocations: 9.484 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3864, allocations: 1.375 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3864, allocations: 3.938 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.3865, allocations: 9.625 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3865, allocations: 1.094 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.3865, allocations: 14.02 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3866, allocations: 2.219 kB / 0.5361 GB, free: 8.727 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 (7): * Single equations (assignments): 7 * 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.0001327/0.3867, allocations: 136.6 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.3867, allocations: 18.55 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.3868, allocations: 16 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3868, allocations: 1.406 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3868, allocations: 0 / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3868, allocations: 1.25 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.387, allocations: 203.5 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.387, allocations: 4.25 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.3871, allocations: 10.77 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3871, allocations: 1.625 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.3871, allocations: 0 / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3871, allocations: 1.562 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3871, allocations: 160 / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3873, allocations: 115.1 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.3874, allocations: 95.77 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3874, allocations: 1.094 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.3875, allocations: 1.781 kB / 0.5367 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.3875, allocations: 10.45 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3875, allocations: 1.938 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.3878, allocations: 199.4 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3878, allocations: 0 / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.388, allocations: 25.42 kB / 0.5369 GB, free: 7.992 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001979/0.39, allocations: 0.9515 MB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3902, allocations: 39.55 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3902, allocations: 0 / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.3903, allocations: 28.42 kB / 0.5379 GB, free: 7.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3905, allocations: 29.81 kB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3927, allocations: 1.677 MB / 0.5396 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.3932, allocations: 0.7108 MB / 0.5403 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.3932, allocations: 13.12 kB / 0.5403 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.3933, allocations: 45.62 kB / 0.5403 GB, free: 5.035 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3934, allocations: 4 kB / 0.5404 GB, free: 5.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.419, allocations: 3.496 MB / 0.5438 GB, free: 3.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.49, allocations: 11.31 kB / 0.5438 GB, free: 3.156 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64_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_Test64.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)