Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 200.7 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.499/1.499, 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.2292/0.2292, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.00231/0.00231, allocations: 84.14 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3807, allocations: 62.45 MB / 0.5307 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003557/0.3843, allocations: 1.75 MB / 0.5324 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3862, allocations: 1.03 MB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.3863, allocations: 1.375 kB / 0.5334 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3866, allocations: 83.44 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.3871, allocations: 118.9 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.3873, allocations: 79.92 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3876, allocations: 122.4 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3877, allocations: 15.75 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3878, allocations: 58.56 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3879, allocations: 54.55 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3879, allocations: 4.812 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3881, allocations: 62.38 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.3882, allocations: 28.58 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.208e-05/0.3882, allocations: 41.08 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.3885, allocations: 137.9 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3886, allocations: 0 / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3886, allocations: 4 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3886, allocations: 0 / 0.5342 GB, free: 10.6 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006566/0.3893, allocations: 445.3 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3893, allocations: 9 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.3894, allocations: 37.09 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.3894, allocations: 14.53 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.3898, allocations: 217.7 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3898, allocations: 1.406 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3898, allocations: 15 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.39, allocations: 60.25 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.39, allocations: 1.125 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.39, allocations: 0 / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3901, allocations: 1 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.3901, allocations: 24.81 kB / 0.535 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.3906, allocations: 309 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3908, allocations: 65.36 kB / 0.5353 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.3909, allocations: 18.33 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3909, allocations: 1.375 kB / 0.5354 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.3911, allocations: 74.44 kB / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3911, allocations: 0 / 0.5354 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007752/0.3919, allocations: 239.4 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3919, allocations: 60.66 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3922, allocations: 225 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3922, allocations: 26.95 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.3923, allocations: 110.6 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.3924, allocations: 37.17 kB / 0.5361 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.3924, allocations: 30.36 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3926, allocations: 327.2 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.3926, allocations: 30.42 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.3927, allocations: 43.86 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3929, allocations: 85.53 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3929, allocations: 4 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000223/0.3931, allocations: 121.6 kB / 0.5367 GB, free: 8.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3932, allocations: 17.38 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3932, allocations: 1.281 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3932, allocations: 5.266 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.3933, allocations: 20.38 kB / 0.5368 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3933, allocations: 1.922 kB / 0.5368 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.3934, allocations: 10.55 kB / 0.5368 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3934, allocations: 3.781 kB / 0.5368 GB, free: 8.25 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 (13): * Single equations (assignments): 13 * 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.0001151/0.3935, allocations: 128.4 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3935, allocations: 14.91 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.3936, allocations: 27.45 kB / 0.5369 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3936, allocations: 9.562 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3936, allocations: 1.062 kB / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3936, allocations: 0 / 0.5369 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.3942, allocations: 445.5 kB / 0.5374 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3942, allocations: 1.188 kB / 0.5374 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.3943, allocations: 20.42 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3943, allocations: 5.281 kB / 0.5374 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3943, allocations: 6.062 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3943, allocations: 1.125 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3943, allocations: 1.062 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.3946, allocations: 238.2 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3947, allocations: 89.52 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.3947, allocations: 6.219 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.3948, allocations: 6.438 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3948, allocations: 8.859 kB / 0.5377 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3949, allocations: 3.312 kB / 0.5377 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.395, allocations: 168.6 kB / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.395, allocations: 0 / 0.5379 GB, free: 7.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3953, allocations: 28.84 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002422/0.3977, allocations: 1.178 MB / 0.5391 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.398, allocations: 82.41 kB / 0.5392 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.398, allocations: 64 / 0.5392 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.3981, allocations: 43.36 kB / 0.5392 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.3985, allocations: 39.77 kB / 0.5392 GB, free: 6.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.4007, allocations: 1.816 MB / 0.541 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.401, allocations: 0.7112 MB / 0.5417 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.4011, allocations: 23.28 kB / 0.5417 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.4012, allocations: 49 kB / 0.5418 GB, free: 3.945 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4012, allocations: 1.062 kB / 0.5418 GB, free: 3.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.4274, allocations: 3.903 MB / 0.5456 GB, free: 1.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.477, allocations: 6.312 kB / 0.5456 GB, free: 1.867 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)