Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_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.001335/0.001335, 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.001258/0.001258, 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.466/1.466, 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.2358/0.2358, allocations: 46.12 MB / 344.3 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.002245/0.002245, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3716, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003174/0.3748, allocations: 1.626 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3759, allocations: 0.536 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/0.376, allocations: 1.312 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.3762, allocations: 77.19 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.3765, allocations: 98.08 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.3768, allocations: 103.5 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.377, allocations: 84.09 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3771, allocations: 16.98 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.62e-05/0.3772, allocations: 30.97 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3773, allocations: 55.8 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3773, allocations: 3.438 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.3774, allocations: 53.38 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.3775, allocations: 20.23 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.3775, allocations: 29.81 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3777, allocations: 117 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3777, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3778, allocations: 0 / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3778, allocations: 0 / 0.5334 GB, free: 11.28 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.0005389/0.3783, allocations: 415.3 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3784, allocations: 9.625 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3784, allocations: 32.12 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3784, allocations: 18.34 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3787, allocations: 207.8 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3787, allocations: 1.75 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3787, allocations: 7.125 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3789, allocations: 57.92 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3789, allocations: 1.375 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3789, allocations: 3.984 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3789, allocations: 1.375 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3791, allocations: 31.05 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.3795, allocations: 294.9 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3796, allocations: 43 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.3797, allocations: 19.81 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3797, allocations: 1.375 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3797, allocations: 35.94 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3798, allocations: 0 / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008974/0.3807, allocations: 221.7 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.3807, allocations: 56.77 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.381, allocations: 221.7 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.381, allocations: 27.08 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.3811, allocations: 105.6 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.3811, allocations: 26.5 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3812, allocations: 24.58 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3813, allocations: 325.6 kB / 0.5355 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.3814, allocations: 25.67 kB / 0.5355 GB, free: 9.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.3815, allocations: 27.11 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3817, allocations: 67.8 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3817, allocations: 0 / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.3819, allocations: 96.3 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3819, allocations: 4.844 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3819, allocations: 0.875 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.382, allocations: 0.8438 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3821, allocations: 30.02 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3821, allocations: 3.938 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.3821, allocations: 7.812 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3822, allocations: 1.781 kB / 0.5357 GB, free: 9.094 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.0001116/0.3823, allocations: 124.1 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3823, allocations: 13.91 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.3826, allocations: 120.1 kB / 0.536 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3826, allocations: 5.156 kB / 0.536 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3827, allocations: 7.875 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3827, allocations: 1.188 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.3832, allocations: 405.9 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3833, allocations: 1.156 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.3833, allocations: 22.02 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3833, allocations: 1.094 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3834, allocations: 9.156 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3834, allocations: 1.094 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3834, allocations: 1.125 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3837, allocations: 204.1 kB / 0.5366 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3837, allocations: 95.61 kB / 0.5367 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.3838, allocations: 6.375 kB / 0.5367 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.3838, allocations: 7.594 kB / 0.5367 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.3839, allocations: 6.297 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3839, allocations: 3.25 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.384, allocations: 163.3 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.384, allocations: 0 / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.3843, allocations: 22.06 kB / 0.5369 GB, free: 8.047 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.002236/0.3865, allocations: 1.089 MB / 0.538 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3868, allocations: 63.64 kB / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3868, allocations: 0 / 0.538 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.3869, allocations: 37.58 kB / 0.5381 GB, free: 7.148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3873, allocations: 22.17 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.3895, allocations: 1.684 MB / 0.5397 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3899, allocations: 0.7063 MB / 0.5404 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.949e-05/0.3899, allocations: 16.92 kB / 0.5404 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.39, allocations: 36.89 kB / 0.5405 GB, free: 4.938 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.39, allocations: 0 / 0.5405 GB, free: 4.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.4156, allocations: 3.103 MB / 0.5435 GB, free: 3.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.562, allocations: 27.36 kB / 0.5435 GB, free: 3.238 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1)