Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002037/0.002037, 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.002656/0.002656, allocations: 198 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.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.44 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.2332/0.2332, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.00232/0.00232, allocations: 83.88 kB / 481 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3702, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003138/0.3734, allocations: 1.693 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.375, allocations: 0.9947 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.3751, allocations: 0.9688 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.3755, allocations: 67.16 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.3758, allocations: 102.1 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.376, allocations: 77.41 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.3762, allocations: 107.3 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.3762, allocations: 9.156 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.3763, allocations: 42.47 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3764, allocations: 44.89 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.3765, allocations: 3.875 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.3765, allocations: 31.19 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.3766, allocations: 18.7 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.3767, allocations: 43.48 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3769, allocations: 108 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3769, allocations: 1.531 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3769, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3769, allocations: 0 / 0.5339 GB, free: 10.88 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.0006648/0.3776, allocations: 414.3 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3776, allocations: 9.812 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.3777, allocations: 40.25 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.3777, allocations: 13.28 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.378, allocations: 212.2 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3781, allocations: 1.75 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3781, allocations: 9.25 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3782, allocations: 51.3 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3783, allocations: 1.375 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.3783, allocations: 0 / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3783, allocations: 0 / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.3784, allocations: 16.23 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.3786, allocations: 187.3 kB / 0.5348 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3788, allocations: 59.11 kB / 0.5349 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3788, allocations: 17.11 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3789, allocations: 1.375 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.379, allocations: 63.77 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.3791, allocations: 4 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002948/0.3794, allocations: 104 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.3794, allocations: 52.78 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3796, allocations: 192.1 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3797, allocations: 29.7 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.3797, allocations: 97.64 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3798, allocations: 26.58 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3798, allocations: 13.84 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.38, allocations: 331 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.38, allocations: 20.22 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.3801, allocations: 23.34 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3802, allocations: 47.52 kB / 0.5359 GB, free: 8.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3802, allocations: 3.938 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.3804, allocations: 83.78 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3804, allocations: 8.156 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3804, allocations: 5.312 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3804, allocations: 5.359 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.3805, allocations: 8.25 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3805, allocations: 1.375 kB / 0.536 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.3806, allocations: 6.75 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3806, allocations: 1.375 kB / 0.536 GB, free: 8.848 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 9.973e-05/0.3807, allocations: 127.4 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.3807, allocations: 8.078 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.3808, allocations: 22.48 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3808, allocations: 0 / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3808, allocations: 1.375 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3808, allocations: 0 / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.381, allocations: 188.7 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.381, allocations: 0 / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.926e-05/0.381, allocations: 4.125 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.381, allocations: 3.984 kB / 0.5363 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.381, allocations: 13.23 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.381, allocations: 1.688 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.381, allocations: 4 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3812, allocations: 113 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3813, allocations: 84.19 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3813, allocations: 1.125 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.3814, allocations: 2.156 kB / 0.5365 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.3814, allocations: 5.203 kB / 0.5366 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3814, allocations: 2.469 kB / 0.5366 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3816, allocations: 153.2 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3816, allocations: 0 / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.3818, allocations: 21.25 kB / 0.5367 GB, free: 8.145 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.001869/0.3837, allocations: 0.9478 MB / 0.5376 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3839, allocations: 43.73 kB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3839, allocations: 0 / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.3839, allocations: 23.61 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3842, allocations: 22.92 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.386, allocations: 1.498 MB / 0.5392 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3864, allocations: 0.7079 MB / 0.5399 GB, free: 5.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.71e-05/0.3864, allocations: 12.02 kB / 0.5399 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.3865, allocations: 33.52 kB / 0.5399 GB, free: 5.285 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3865, allocations: 0 / 0.5399 GB, free: 5.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.4128, allocations: 3.172 MB / 0.543 GB, free: 3.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.435, allocations: 6.922 kB / 0.543 GB, free: 3.555 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1)