Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001844, 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.002121/0.002121, allocations: 199.9 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.511/1.511, 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.2326/0.2326, allocations: 46.12 MB / 344.3 MB, free: 11.44 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.002236/0.002236, allocations: 79.88 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3721, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004033/0.3762, allocations: 1.725 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3782, allocations: 1.022 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.3783, allocations: 1.125 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.3787, allocations: 49.42 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.3791, allocations: 95.16 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.3794, allocations: 75.55 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.3796, allocations: 108.9 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3797, allocations: 10.88 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3798, allocations: 46.91 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3799, allocations: 34.78 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.38, allocations: 4.125 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3801, allocations: 39.48 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.3802, allocations: 18.8 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.853e-05/0.3802, allocations: 41.36 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3805, allocations: 125.7 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.3805, allocations: 5.359 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3805, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3806, allocations: 3.938 kB / 0.534 GB, free: 10.79 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.0007076/0.3813, allocations: 430.2 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.347e-05/0.3814, allocations: 9.625 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.3814, allocations: 34.73 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.3815, allocations: 10.39 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.382, allocations: 222 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.382, allocations: 1.75 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.382, allocations: 5.312 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3822, allocations: 57.98 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3822, allocations: 5.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3823, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3823, allocations: 1.375 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.3824, allocations: 21.61 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3828, allocations: 292.2 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.383, allocations: 61.86 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.3831, allocations: 25.09 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3831, allocations: 1.375 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3833, allocations: 69.08 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3833, allocations: 0 / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.3839, allocations: 178.8 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.384, allocations: 52.69 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3843, allocations: 212.2 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3843, allocations: 31.3 kB / 0.5356 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3844, allocations: 101.3 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3844, allocations: 23.56 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3845, allocations: 24.5 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3847, allocations: 323.2 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.3848, allocations: 21.83 kB / 0.5361 GB, free: 8.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.3848, allocations: 44.45 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.385, allocations: 54.84 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.385, allocations: 0 / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002132/0.3852, allocations: 111.8 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3852, allocations: 5.562 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3852, allocations: 1.062 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3853, allocations: 1.188 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3854, allocations: 20.55 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3854, allocations: 1.25 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3854, allocations: 10.06 kB / 0.5364 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3855, allocations: 6.344 kB / 0.5364 GB, free: 8.555 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.0001288/0.3856, allocations: 135.3 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3856, allocations: 13.75 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.3857, allocations: 15.69 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3857, allocations: 1.094 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3857, allocations: 4 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3857, allocations: 9.016 kB / 0.5365 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.3863, allocations: 391.3 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3863, allocations: 1.062 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3863, allocations: 11.38 kB / 0.5369 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3863, allocations: 5.469 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3864, allocations: 5.141 kB / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3864, allocations: 1.375 kB / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3864, allocations: 80 / 0.5369 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3866, allocations: 212.8 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.3867, allocations: 89.19 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3868, allocations: 5.312 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.3868, allocations: 5.734 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3869, allocations: 7.516 kB / 0.5372 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.3869, allocations: 7.531 kB / 0.5372 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.3871, allocations: 163 kB / 0.5374 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3871, allocations: 0 / 0.5374 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3874, allocations: 24.2 kB / 0.5374 GB, free: 7.578 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.002243/0.3896, allocations: 1.093 MB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3899, allocations: 58.38 kB / 0.5385 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3899, allocations: 0 / 0.5385 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.39, allocations: 33.77 kB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3903, allocations: 36.33 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.3924, allocations: 1.677 MB / 0.5403 GB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.3928, allocations: 0.7186 MB / 0.541 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.3929, allocations: 17.7 kB / 0.541 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.393, allocations: 35.45 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.393, allocations: 1.156 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.4183, allocations: 3.516 MB / 0.5444 GB, free: 2.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.435, allocations: 1.266 kB / 0.5444 GB, free: 2.57 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)