Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 122.2 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.001251/0.001251, 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.452/1.452, allocations: 227.4 MB / 247 MB, free: 10.42 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.226/0.226, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002446/0.002446, allocations: 76.09 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3851, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003466/0.3886, allocations: 1.74 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3904, allocations: 1.018 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.3905, allocations: 1.438 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.3908, allocations: 54.41 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.3911, allocations: 106.1 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.3913, allocations: 78.86 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3915, allocations: 101.6 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3917, allocations: 10.69 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.3918, allocations: 39.31 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.3918, allocations: 38.03 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3919, allocations: 8.719 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.392, allocations: 40.05 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.3921, allocations: 25.91 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.3921, allocations: 53.73 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3924, allocations: 137.5 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3924, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3924, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3924, allocations: 0 / 0.534 GB, free: 10.78 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.0006096/0.393, allocations: 447.9 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3931, allocations: 12.84 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.3931, allocations: 35.89 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3932, allocations: 19.03 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3935, allocations: 216.5 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3935, allocations: 9.734 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3935, allocations: 6.406 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3937, allocations: 58.64 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3937, allocations: 0 / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3937, allocations: 0 / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3937, allocations: 5.188 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.3938, allocations: 22.3 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.3943, allocations: 304.1 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3944, allocations: 53.88 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.3945, allocations: 21.09 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3945, allocations: 5.375 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.3947, allocations: 65.14 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3947, allocations: 0 / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005499/0.3953, allocations: 189.3 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3953, allocations: 52.78 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3956, allocations: 275.2 kB / 0.5358 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3956, allocations: 31.08 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.3957, allocations: 111 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3958, allocations: 27.91 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.3958, allocations: 24.59 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.396, allocations: 332.2 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.3961, allocations: 27 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.3961, allocations: 35.45 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3963, allocations: 63.14 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3963, allocations: 0 / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.3965, allocations: 113.6 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3965, allocations: 5.031 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3965, allocations: 0 / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3965, allocations: 1.156 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.3966, allocations: 12.94 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3966, allocations: 1.156 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.3967, allocations: 18.55 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3967, allocations: 6.656 kB / 0.5365 GB, free: 8.469 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.0001141/0.3968, allocations: 133.5 kB / 0.5367 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.3969, allocations: 15.41 kB / 0.5367 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3969, allocations: 16.28 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3969, allocations: 1.062 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3969, allocations: 1.25 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3969, allocations: 11.86 kB / 0.5367 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.3974, allocations: 404.7 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3974, allocations: 0 / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.3975, allocations: 7.875 kB / 0.5371 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3975, allocations: 5 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3975, allocations: 2.344 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3975, allocations: 240 / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3975, allocations: 1.094 kB / 0.5371 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.3978, allocations: 218.7 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.3979, allocations: 92.31 kB / 0.5374 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3979, allocations: 6.344 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.398, allocations: 5.031 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.398, allocations: 8.234 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3981, allocations: 3.406 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.3982, allocations: 198.5 kB / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3982, allocations: 0 / 0.5376 GB, free: 7.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3985, allocations: 34.33 kB / 0.5377 GB, free: 7.48 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.002131/0.4006, allocations: 1.102 MB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.4008, allocations: 62.02 kB / 0.5388 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4008, allocations: 0 / 0.5388 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.4009, allocations: 30.55 kB / 0.5388 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4013, allocations: 32.08 kB / 0.5388 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.4035, allocations: 1.83 MB / 0.5406 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.4039, allocations: 0.723 MB / 0.5413 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.4039, allocations: 18.91 kB / 0.5414 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.404, allocations: 46.75 kB / 0.5414 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4041, allocations: 1.125 kB / 0.5414 GB, free: 4.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.4305, allocations: 3.78 MB / 0.5451 GB, free: 2.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.531, allocations: 13.89 kB / 0.5451 GB, free: 2.266 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)