Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 118.8 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.001859/0.001859, allocations: 197.2 kB / 18.73 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.51/1.51, 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.2322/0.2322, allocations: 46.12 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.002229/0.002229, allocations: 83.88 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3748, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003161/0.378, allocations: 1.732 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3799, allocations: 1.014 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.38, allocations: 5.5 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.3805, allocations: 82.5 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.3808, allocations: 118.2 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.3811, allocations: 79.92 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3813, allocations: 116.5 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3814, allocations: 14.86 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3815, allocations: 57.75 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3816, allocations: 51.28 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3817, allocations: 4.125 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3818, allocations: 55.41 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-05/0.3819, allocations: 20.17 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.3819, allocations: 39.98 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.3822, allocations: 120.5 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3822, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3822, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3822, allocations: 1.375 kB / 0.5341 GB, free: 10.75 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.0006556/0.3829, allocations: 430.2 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3829, allocations: 13.56 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.383, allocations: 44.11 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.383, allocations: 14.34 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.3834, allocations: 214 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3834, allocations: 1.75 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.3835, allocations: 9.312 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3836, allocations: 53.98 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3837, allocations: 1.375 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3837, allocations: 4 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3837, allocations: 1.375 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.3838, allocations: 21.61 kB / 0.5349 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.3842, allocations: 296.1 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3844, allocations: 57.92 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.3844, allocations: 22.47 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3845, allocations: 1.375 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3847, allocations: 73.08 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.3847, allocations: 0 / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000559/0.3852, allocations: 171.4 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3853, allocations: 56.62 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.3856, allocations: 225.5 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3856, allocations: 31.08 kB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.3857, allocations: 109.2 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.3857, allocations: 27.56 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.3858, allocations: 21.22 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.386, allocations: 326 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.175e-05/0.386, allocations: 18.86 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.3861, allocations: 36.2 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3863, allocations: 66.45 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3863, allocations: 1.438 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002058/0.3865, allocations: 99.48 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3865, allocations: 5.281 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3865, allocations: 1.094 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3866, allocations: 5.062 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3867, allocations: 25.42 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3867, allocations: 5.125 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.3867, allocations: 5.062 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3868, allocations: 7.531 kB / 0.5365 GB, free: 8.496 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.0001237/0.3869, allocations: 129.1 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.3869, allocations: 13.53 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.387, allocations: 19.3 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.387, allocations: 1.125 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.387, allocations: 1.156 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.387, allocations: 8.109 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.3875, allocations: 401 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3876, allocations: 3.938 kB / 0.537 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.3876, allocations: 7.312 kB / 0.5371 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3876, allocations: 5.25 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3876, allocations: 5.438 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3876, allocations: 5.406 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3876, allocations: 1.188 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3879, allocations: 200.1 kB / 0.5373 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.388, allocations: 88.67 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.388, allocations: 10.5 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.3881, allocations: 1.438 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.3881, allocations: 6.922 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3882, allocations: 3.906 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3883, allocations: 164.7 kB / 0.5375 GB, free: 7.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3883, allocations: 0 / 0.5375 GB, free: 7.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3886, allocations: 29.02 kB / 0.5376 GB, free: 7.527 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.002339/0.3909, allocations: 1.103 MB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3912, allocations: 61.77 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3912, allocations: 0 / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.3913, allocations: 25.44 kB / 0.5387 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3917, allocations: 50.8 kB / 0.5388 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.394, allocations: 1.708 MB / 0.5404 GB, free: 5.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.3944, allocations: 0.7085 MB / 0.5411 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.518e-05/0.3945, allocations: 14.19 kB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.3946, allocations: 43.95 kB / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3946, allocations: 0 / 0.5412 GB, free: 4.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.422, allocations: 3.562 MB / 0.5447 GB, free: 2.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.472, allocations: 16.3 kB / 0.5447 GB, free: 2.473 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)