Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, 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.002239/0.002239, 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.551/1.551, 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.229/0.229, allocations: 46.12 MB / 344.4 MB, free: 11.42 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.002248/0.002248, allocations: 83.88 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3822, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003417/0.3857, allocations: 1.684 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3874, allocations: 0.9979 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.3875, allocations: 1.375 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.3879, allocations: 78.58 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.3882, allocations: 119.5 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.3884, allocations: 73.92 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3886, allocations: 109.9 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.3887, allocations: 5.734 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3888, allocations: 56.38 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3889, allocations: 49.95 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3889, allocations: 4.125 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.389, allocations: 36.61 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.3891, allocations: 30.67 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.3892, allocations: 32 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3894, allocations: 115.1 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3894, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3894, allocations: 1.375 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3895, allocations: 3.938 kB / 0.534 GB, free: 10.81 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.0006267/0.3901, allocations: 420.9 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3901, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3902, allocations: 36.06 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3902, allocations: 14.34 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.3906, allocations: 224.5 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3906, allocations: 5.75 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3906, allocations: 5.312 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3908, allocations: 47.3 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3908, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.3908, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3908, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.288e-05/0.3909, allocations: 16.23 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.3912, allocations: 184.8 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3914, allocations: 63.05 kB / 0.535 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.3914, allocations: 17.11 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3915, allocations: 5.359 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3916, allocations: 63.77 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3917, allocations: 0 / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000297/0.392, allocations: 100 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.392, allocations: 52.78 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3923, allocations: 221.5 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3923, allocations: 30.7 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.3924, allocations: 105.7 kB / 0.5355 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3924, allocations: 14.36 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3925, allocations: 22.81 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3926, allocations: 326.3 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.3927, allocations: 15.2 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.3928, allocations: 36.42 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3929, allocations: 42.59 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3929, allocations: 4.875 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.3931, allocations: 87.89 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3931, allocations: 5.438 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3931, allocations: 320 / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3931, allocations: 1.156 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3932, allocations: 16.69 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3932, allocations: 0.9375 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.3933, allocations: 7.219 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3933, allocations: 6.219 kB / 0.5361 GB, free: 8.746 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.0001164/0.3934, allocations: 132.6 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.3935, allocations: 13.47 kB / 0.5362 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.3935, allocations: 18.67 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3935, allocations: 3.938 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3935, allocations: 1.219 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3935, allocations: 0 / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3937, allocations: 191.3 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3937, allocations: 0 / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.3938, allocations: 3.469 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3938, allocations: 1.219 kB / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3938, allocations: 0 / 0.5364 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3938, allocations: 5.125 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3938, allocations: 0 / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.394, allocations: 118.9 kB / 0.5366 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.3941, allocations: 87.42 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3941, allocations: 1.125 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.3942, allocations: 10.17 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3942, allocations: 2.188 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3942, allocations: 6.25 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.3944, allocations: 167.9 kB / 0.5368 GB, free: 8.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 1.406 kB / 0.5368 GB, free: 8.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.3946, allocations: 20.8 kB / 0.5368 GB, free: 8.031 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.001878/0.3965, allocations: 0.9485 MB / 0.5378 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.3967, allocations: 34.89 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3967, allocations: 1.219 kB / 0.5378 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.3968, allocations: 22.77 kB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3971, allocations: 34.66 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.3989, allocations: 1.57 MB / 0.5394 GB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.3994, allocations: 0.7136 MB / 0.5401 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.3995, allocations: 16.52 kB / 0.5401 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.3996, allocations: 33.33 kB / 0.5401 GB, free: 5.129 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3996, allocations: 1.156 kB / 0.5401 GB, free: 5.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.4251, allocations: 3.264 MB / 0.5433 GB, free: 3.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.501, allocations: 20.89 kB / 0.5433 GB, free: 3.359 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)