Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 121.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.002009/0.002009, allocations: 204.6 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.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.4 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.2271/0.2271, allocations: 46.12 MB / 344.3 MB, free: 11.43 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.002253/0.002253, allocations: 83.81 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3658, allocations: 62.44 MB / 0.5306 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003406/0.3693, allocations: 1.61 MB / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3704, allocations: 0.5558 MB / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.427e-05/0.3705, allocations: 0 / 0.5327 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3708, allocations: 107.6 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3712, allocations: 114.2 kB / 0.533 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3715, allocations: 115.4 kB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3717, allocations: 87.67 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3719, allocations: 13.62 kB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.7e-05/0.372, allocations: 51.06 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3721, allocations: 64.94 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3721, allocations: 2.75 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3722, allocations: 49.73 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.3723, allocations: 33.53 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.3724, allocations: 30.16 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.3726, allocations: 118 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3726, allocations: 0 / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3726, allocations: 3.938 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3726, allocations: 0 / 0.5335 GB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005544/0.3732, allocations: 434.8 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3732, allocations: 10.62 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.3733, allocations: 35.53 kB / 0.534 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3733, allocations: 15.05 kB / 0.534 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.3736, allocations: 210.6 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3736, allocations: 1.656 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3736, allocations: 6.922 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3738, allocations: 58.91 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3738, allocations: 4.891 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3738, allocations: 0 / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3738, allocations: 1.125 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3739, allocations: 31.62 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.3744, allocations: 303.4 kB / 0.5346 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3746, allocations: 47.88 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.3746, allocations: 24.27 kB / 0.5346 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3747, allocations: 1.156 kB / 0.5346 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3747, allocations: 35.88 kB / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3747, allocations: 0 / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001001/0.3757, allocations: 252.1 kB / 0.5349 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3758, allocations: 51.41 kB / 0.535 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3761, allocations: 263 kB / 0.5352 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3761, allocations: 31.08 kB / 0.5352 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.175e-05/0.3762, allocations: 107 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3763, allocations: 30.48 kB / 0.5354 GB, free: 9.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3763, allocations: 20.59 kB / 0.5354 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3765, allocations: 327 kB / 0.5357 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.3766, allocations: 32.47 kB / 0.5357 GB, free: 8.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.3766, allocations: 32.42 kB / 0.5358 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3768, allocations: 73.94 kB / 0.5358 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3768, allocations: 3.938 kB / 0.5358 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002411/0.3771, allocations: 117.7 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3771, allocations: 5.5 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3771, allocations: 0 / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3771, allocations: 1.375 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3773, allocations: 21.14 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3773, allocations: 5.094 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3773, allocations: 11.12 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3773, allocations: 6.328 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001174/0.3775, allocations: 131.8 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.3775, allocations: 17.56 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.3778, allocations: 132.5 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3779, allocations: 1.125 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3779, allocations: 3.938 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3779, allocations: 4.984 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.3785, allocations: 430.5 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3785, allocations: 0 / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.3786, allocations: 26.52 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3786, allocations: 4.031 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3786, allocations: 6.281 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3786, allocations: 1.312 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3786, allocations: 0 / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3789, allocations: 214.4 kB / 0.5369 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.379, allocations: 87.38 kB / 0.537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.379, allocations: 5.344 kB / 0.537 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3791, allocations: 4.344 kB / 0.537 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3792, allocations: 15.45 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.3792, allocations: 1.375 kB / 0.537 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3794, allocations: 189.5 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3794, allocations: 0 / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.3796, allocations: 18.72 kB / 0.5372 GB, free: 7.727 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002242/0.3819, allocations: 1.108 MB / 0.5383 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3821, allocations: 75.17 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3821, allocations: 0 / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3823, allocations: 44.28 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.3827, allocations: 21.47 kB / 0.5385 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3849, allocations: 1.797 MB / 0.5402 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3853, allocations: 0.7153 MB / 0.5409 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.456e-05/0.3854, allocations: 24.42 kB / 0.5409 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.3854, allocations: 38.02 kB / 0.541 GB, free: 4.535 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3854, allocations: 3.938 kB / 0.541 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.41, allocations: 3.349 MB / 0.5442 GB, free: 2.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.518, allocations: 6.156 kB / 0.5442 GB, free: 2.727 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1)