Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 118.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.001307/0.001307, allocations: 198 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.545/1.545, allocations: 227.4 MB / 247 MB, free: 10.44 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.2353/0.2353, allocations: 46.11 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.002237/0.002237, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3405, allocations: 62.44 MB / 0.5306 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00323/0.3438, allocations: 1.678 MB / 0.5323 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3449, allocations: 0.5565 MB / 0.5328 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.345, allocations: 1.062 kB / 0.5328 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006454/0.3456, allocations: 453 kB / 0.5332 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.3462, allocations: 296.5 kB / 0.5335 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.3466, allocations: 137.3 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3469, allocations: 169.2 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.347, allocations: 16.23 kB / 0.5338 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3471, allocations: 118.8 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.3474, allocations: 214.3 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3475, allocations: 3.688 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3476, allocations: 49.64 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3477, allocations: 81.72 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3478, allocations: 107.2 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.3482, allocations: 287.9 kB / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3483, allocations: 0 / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3483, allocations: 1.188 kB / 0.5347 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.3483, allocations: 0 / 0.5347 GB, free: 10.88 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.0008824/0.3492, allocations: 0.6726 MB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3492, allocations: 8.938 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3493, allocations: 40.11 kB / 0.5354 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.241e-05/0.3493, allocations: 44.59 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.3497, allocations: 303.8 kB / 0.5357 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3497, allocations: 1.219 kB / 0.5357 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3497, allocations: 11.77 kB / 0.5357 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3499, allocations: 68.11 kB / 0.5358 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3499, allocations: 5.188 kB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3499, allocations: 0 / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3499, allocations: 1.25 kB / 0.5358 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3501, allocations: 24.45 kB / 0.5358 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.3506, allocations: 407.9 kB / 0.5362 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.3508, allocations: 39.47 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.3508, allocations: 23.78 kB / 0.5363 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3509, allocations: 1.281 kB / 0.5363 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3509, allocations: 35.88 kB / 0.5363 GB, free: 9.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3509, allocations: 0 / 0.5363 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001012/0.3519, allocations: 312.7 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.352, allocations: 56.47 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.3531, allocations: 0.8735 MB / 0.5375 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3531, allocations: 25.7 kB / 0.5375 GB, free: 8.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.3533, allocations: 226.9 kB / 0.5377 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.3534, allocations: 30.64 kB / 0.5378 GB, free: 8.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.3534, allocations: 23.39 kB / 0.5378 GB, free: 8.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3536, allocations: 365.3 kB / 0.5381 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.3537, allocations: 25.72 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.573e-05/0.3538, allocations: 26.2 kB / 0.5382 GB, free: 8.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.354, allocations: 60.92 kB / 0.5382 GB, free: 7.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.354, allocations: 0 / 0.5382 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002509/0.3542, allocations: 139.5 kB / 0.5384 GB, free: 7.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3543, allocations: 8.312 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3543, allocations: 5.375 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3543, allocations: 0 / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3544, allocations: 22.39 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3544, allocations: 0 / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.3545, allocations: 12.11 kB / 0.5384 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3545, allocations: 2.781 kB / 0.5384 GB, free: 7.867 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.0002039/0.3547, allocations: 210.2 kB / 0.5386 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.3548, allocations: 50.48 kB / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.3551, allocations: 167.9 kB / 0.5388 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3552, allocations: 5.938 kB / 0.5388 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3552, allocations: 0 / 0.5388 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3552, allocations: 0 / 0.5388 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.3559, allocations: 0.5 MB / 0.5393 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3559, allocations: 1.125 kB / 0.5393 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.356, allocations: 18.05 kB / 0.5393 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.356, allocations: 5.188 kB / 0.5393 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.356, allocations: 5.672 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.356, allocations: 1.156 kB / 0.5394 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3561, allocations: 3.938 kB / 0.5394 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.3564, allocations: 247.2 kB / 0.5396 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.3565, allocations: 111 kB / 0.5397 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.3565, allocations: 9.078 kB / 0.5397 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.3566, allocations: 8.547 kB / 0.5397 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.3567, allocations: 7.172 kB / 0.5397 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3567, allocations: 2.344 kB / 0.5397 GB, free: 6.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007499/0.3574, allocations: 0.6552 MB / 0.5404 GB, free: 6.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3574, allocations: 5.312 kB / 0.5404 GB, free: 6.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3577, allocations: 34.02 kB / 0.5404 GB, free: 6.453 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.002176/0.3599, allocations: 1.132 MB / 0.5415 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3602, allocations: 63.38 kB / 0.5416 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3602, allocations: 1.188 kB / 0.5416 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.3603, allocations: 45.95 kB / 0.5416 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3607, allocations: 33.14 kB / 0.5416 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.365, allocations: 3.329 MB / 0.5449 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.3655, allocations: 0.8338 MB / 0.5457 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.619e-05/0.3656, allocations: 16.72 kB / 0.5457 GB, free: 2.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3657, allocations: 107.4 kB / 0.5458 GB, free: 1.973 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3657, allocations: 4 kB / 0.5458 GB, free: 1.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.395, allocations: 6.379 MB / 0.5521 GB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/8.954, allocations: 6.031 kB / 0.5521 GB, free: 11.68 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1)