Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, 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.002114/0.002114, 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.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.47 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.2318/0.2318, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002403/0.002403, allocations: 87.86 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3799, allocations: 62.44 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003231/0.3832, allocations: 1.74 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3849, allocations: 1.014 MB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.385, allocations: 5.188 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3853, allocations: 40.3 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3857, allocations: 103.7 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3859, allocations: 75.73 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3861, allocations: 112.4 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.3862, allocations: 7.75 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.3863, allocations: 42.97 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.3864, allocations: 34.81 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3864, allocations: 3.656 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.3865, allocations: 39.89 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.3866, allocations: 26.92 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.3867, allocations: 37.33 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3869, allocations: 129.4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3869, allocations: 4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3869, allocations: 1.375 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.387, allocations: 0 / 0.534 GB, free: 10.82 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.0006374/0.3876, allocations: 425.8 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3877, allocations: 9.562 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.3877, allocations: 31.91 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.3877, allocations: 9.703 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.3881, allocations: 224.9 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3881, allocations: 9.469 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3881, allocations: 6.312 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3883, allocations: 54.45 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3883, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3883, allocations: 1.375 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3883, allocations: 0 / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.3884, allocations: 18.98 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.3889, allocations: 296.1 kB / 0.5351 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.3891, allocations: 57.94 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.3892, allocations: 21.09 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3892, allocations: 1.375 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.3894, allocations: 73.02 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3894, allocations: 4 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006222/0.39, allocations: 174.3 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3901, allocations: 60.72 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.3903, allocations: 208 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3903, allocations: 27.08 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.3904, allocations: 105.6 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.3905, allocations: 23.97 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.3905, allocations: 20.59 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3907, allocations: 329.6 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.3908, allocations: 18.98 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.3909, allocations: 43.38 kB / 0.5362 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.391, allocations: 63.77 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.391, allocations: 0 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002088/0.3912, allocations: 100.4 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3912, allocations: 5.312 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3912, allocations: 0 / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3913, allocations: 1.406 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.3914, allocations: 21.23 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3914, allocations: 1.188 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.3914, allocations: 18.59 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3915, allocations: 2.625 kB / 0.5364 GB, free: 8.594 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.0001202/0.3916, allocations: 127.2 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3916, allocations: 17.88 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.887e-05/0.3917, allocations: 19.95 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3917, allocations: 1.469 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3917, allocations: 0 / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3917, allocations: 3.938 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.3923, allocations: 395.4 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3923, allocations: 1.219 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.3923, allocations: 11.83 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3923, allocations: 7.969 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3923, allocations: 2.781 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3924, allocations: 0 / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.3924, allocations: 5.219 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.3926, allocations: 204.3 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.3927, allocations: 84.34 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3927, allocations: 10.11 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.3928, allocations: 9.312 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3929, allocations: 4.438 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3929, allocations: 3.406 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3931, allocations: 162.1 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3931, allocations: 0 / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000269/0.3933, allocations: 21.56 kB / 0.5374 GB, free: 7.629 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.002323/0.3957, allocations: 1.099 MB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.3959, allocations: 62.28 kB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3959, allocations: 0 / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.396, allocations: 29.98 kB / 0.5386 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3964, allocations: 31.17 kB / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3988, allocations: 1.694 MB / 0.5403 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.3993, allocations: 0.7149 MB / 0.541 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.3993, allocations: 17.88 kB / 0.541 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.3994, allocations: 43.84 kB / 0.541 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3995, allocations: 0 / 0.541 GB, free: 4.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.426, allocations: 3.506 MB / 0.5444 GB, free: 2.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.523, allocations: 1.141 kB / 0.5444 GB, free: 2.609 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1)