Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001409, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001575, allocations: 206 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.457/1.457, 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.236/0.236, allocations: 46.12 MB / 344.4 MB, free: 11.42 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.002263/0.002263, allocations: 79.8 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3618, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003094/0.3649, allocations: 1.686 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.366, allocations: 0.5734 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.3661, allocations: 1.219 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.3664, allocations: 58.8 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.3667, allocations: 87.23 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.3672, allocations: 185.6 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3674, allocations: 93.78 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3675, allocations: 14.64 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.3676, allocations: 43.11 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3677, allocations: 42.08 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3677, allocations: 3.75 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3678, allocations: 49.89 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.3679, allocations: 28.42 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.368, allocations: 42.66 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3682, allocations: 118.7 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3682, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3682, allocations: 0 / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3682, allocations: 1.312 kB / 0.5336 GB, free: 11.13 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006459/0.3689, allocations: 427.7 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3689, allocations: 9.625 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.369, allocations: 36.12 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.369, allocations: 16.97 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3693, allocations: 196.6 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3693, allocations: 3.125 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3693, allocations: 3.125 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3695, allocations: 76.78 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3696, allocations: 0 / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3696, allocations: 1.375 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3696, allocations: 1.375 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3698, allocations: 48.7 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.3703, allocations: 320.6 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.3706, allocations: 60.67 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/0.3707, allocations: 37.27 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.3707, allocations: 9.344 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3708, allocations: 35.97 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.3708, allocations: 0 / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001522/0.3723, allocations: 421.2 kB / 0.5352 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3724, allocations: 56.69 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3726, allocations: 183.9 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3726, allocations: 25.7 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.3727, allocations: 110.2 kB / 0.5356 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.3727, allocations: 39.64 kB / 0.5356 GB, free: 9.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.3728, allocations: 22.03 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3729, allocations: 326.6 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3731, allocations: 56.52 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3732, allocations: 53.17 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3735, allocations: 131.6 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3735, allocations: 1.094 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003579/0.3739, allocations: 168.1 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3739, allocations: 5.719 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3739, allocations: 0 / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.374, allocations: 5.062 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3741, allocations: 23.86 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3741, allocations: 1.25 kB / 0.5364 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3742, allocations: 14.23 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3742, allocations: 6.406 kB / 0.5364 GB, free: 8.727 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 (11): * Single equations (assignments): 11 * 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.0001216/0.3743, allocations: 132 kB / 0.5365 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.3744, allocations: 17.19 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.3748, allocations: 186.1 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3748, allocations: 6.594 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3749, allocations: 0 / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3749, allocations: 5.312 kB / 0.5367 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.3756, allocations: 0.4968 MB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.3756, allocations: 5.031 kB / 0.5372 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3757, allocations: 28.47 kB / 0.5372 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3757, allocations: 5.406 kB / 0.5372 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3758, allocations: 10.5 kB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3758, allocations: 1.062 kB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3758, allocations: 0 / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.3762, allocations: 281.4 kB / 0.5375 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.3763, allocations: 93.44 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3763, allocations: 5.219 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3764, allocations: 10.11 kB / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3765, allocations: 9.531 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3765, allocations: 2.469 kB / 0.5376 GB, free: 7.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3766, allocations: 148.9 kB / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3766, allocations: 0.9688 kB / 0.5378 GB, free: 7.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3769, allocations: 30.28 kB / 0.5378 GB, free: 7.535 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002247/0.3791, allocations: 1.151 MB / 0.5389 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.3795, allocations: 135.8 kB / 0.539 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3795, allocations: 1.062 kB / 0.539 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3797, allocations: 66.89 kB / 0.5391 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3801, allocations: 24.88 kB / 0.5391 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3825, allocations: 1.9 MB / 0.541 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3829, allocations: 0.7186 MB / 0.5417 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.532e-05/0.383, allocations: 32.3 kB / 0.5417 GB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.3831, allocations: 44.09 kB / 0.5418 GB, free: 4.207 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3831, allocations: 0 / 0.5418 GB, free: 4.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.4087, allocations: 3.466 MB / 0.5451 GB, free: 2.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.484, allocations: 10.02 kB / 0.5452 GB, free: 2.328 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1)