Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.43 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.2269/0.2269, allocations: 46.12 MB / 344.4 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.002263/0.002263, allocations: 76.09 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3437, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003824/0.3476, allocations: 1.653 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3488, allocations: 0.5513 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.3489, allocations: 1.75 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.3495, allocations: 452.3 kB / 0.5332 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005901/0.3502, allocations: 295.6 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.3506, allocations: 131.3 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.351, allocations: 170.4 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3511, allocations: 18.86 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.3513, allocations: 106.9 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.3516, allocations: 209.7 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.3517, allocations: 3.469 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.3518, allocations: 33.31 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3519, allocations: 82.06 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.352, allocations: 111 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.3525, allocations: 257.9 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3525, allocations: 5 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3525, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.3525, allocations: 3.984 kB / 0.5346 GB, free: 10.73 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.001016/0.3535, allocations: 0.6555 MB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3536, allocations: 17.97 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.3537, allocations: 39.89 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3538, allocations: 46.8 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.3541, allocations: 299.2 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3542, allocations: 5.594 kB / 0.5356 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3542, allocations: 11.16 kB / 0.5356 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3543, allocations: 53.77 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3544, allocations: 1.188 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3544, allocations: 3.984 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3544, allocations: 1.156 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3545, allocations: 30.41 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.3551, allocations: 395.3 kB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.3554, allocations: 43.84 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.3554, allocations: 15.2 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.3555, allocations: 1.281 kB / 0.5361 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.3555, allocations: 35.7 kB / 0.5362 GB, free: 9.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.3555, allocations: 0 / 0.5362 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006978/0.3562, allocations: 236.3 kB / 0.5364 GB, free: 9.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.3563, allocations: 52.75 kB / 0.5364 GB, free: 8.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3573, allocations: 0.8727 MB / 0.5373 GB, free: 8.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3573, allocations: 25.7 kB / 0.5373 GB, free: 8.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.3575, allocations: 226.2 kB / 0.5375 GB, free: 8.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3576, allocations: 18.47 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3576, allocations: 22.44 kB / 0.5376 GB, free: 8.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3578, allocations: 360 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.3579, allocations: 18.55 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.358, allocations: 23.77 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3581, allocations: 47.36 kB / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3581, allocations: 0 / 0.538 GB, free: 7.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002321/0.3584, allocations: 124.7 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3584, allocations: 6.031 kB / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3584, allocations: 0 / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3584, allocations: 0 / 0.5381 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.3585, allocations: 14.02 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3585, allocations: 1.219 kB / 0.5381 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.512e-05/0.3586, allocations: 15.41 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3586, allocations: 5.672 kB / 0.5382 GB, free: 7.805 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 (5): * Single equations (assignments): 5 * 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.0002343/0.3589, allocations: 212.7 kB / 0.5384 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.3589, allocations: 42.47 kB / 0.5384 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3592, allocations: 136.4 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3593, allocations: 1.156 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3593, allocations: 0 / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3593, allocations: 7.875 kB / 0.5386 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.3599, allocations: 467.6 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.36, allocations: 1.312 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.36, allocations: 9.125 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.36, allocations: 1.25 kB / 0.539 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.36, allocations: 11.92 kB / 0.539 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3601, allocations: 1.094 kB / 0.539 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3601, allocations: 0 / 0.539 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3604, allocations: 219.3 kB / 0.5392 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3605, allocations: 114.8 kB / 0.5393 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3605, allocations: 5.094 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.3606, allocations: 3.656 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3606, allocations: 9.203 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.3607, allocations: 6.031 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007668/0.3614, allocations: 0.6594 MB / 0.54 GB, free: 6.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3614, allocations: 0 / 0.54 GB, free: 6.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3617, allocations: 22.44 kB / 0.54 GB, free: 6.469 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001971/0.3637, allocations: 1.043 MB / 0.541 GB, free: 5.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3639, allocations: 53.36 kB / 0.5411 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3639, allocations: 4 kB / 0.5411 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.489e-05/0.364, allocations: 23.36 kB / 0.5411 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3644, allocations: 28.42 kB / 0.5411 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.3686, allocations: 3.247 MB / 0.5443 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.3692, allocations: 0.8221 MB / 0.5451 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.3693, allocations: 15.98 kB / 0.5451 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3694, allocations: 103.4 kB / 0.5452 GB, free: 2.43 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3694, allocations: 0 / 0.5452 GB, free: 2.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3989, allocations: 6.072 MB / 0.5512 GB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.04, allocations: 5.719 kB / 0.5512 GB, free: 12.45 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1)