Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001275, allocations: 121.6 kB / 17.79 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.001266/0.001266, allocations: 203.9 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.427/1.427, 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.2221/0.2221, 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.002166/0.002166, allocations: 83.81 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003207/0.3575, allocations: 1.671 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3585, allocations: 0.5542 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.3586, allocations: 1.438 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3589, allocations: 58.92 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.3592, allocations: 98.42 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.3596, allocations: 131.1 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.3597, allocations: 87.59 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3599, allocations: 21.41 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.3599, allocations: 38.31 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.36, allocations: 44.77 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3601, allocations: 4.094 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3602, allocations: 56.81 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.3603, allocations: 24.17 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.3603, allocations: 34.61 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3605, allocations: 123 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3606, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3606, allocations: 0 / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3606, allocations: 0 / 0.5335 GB, free: 11.17 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.0006357/0.3612, allocations: 433 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3613, allocations: 13.56 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.3613, allocations: 36.12 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.3614, allocations: 12.97 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3616, allocations: 196.6 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3616, allocations: 5.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3616, allocations: 3.125 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3618, allocations: 71.42 kB / 0.5342 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3619, allocations: 7.969 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3619, allocations: 1.375 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3619, allocations: 1.375 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3621, allocations: 33.97 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3626, allocations: 311 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3629, allocations: 59.33 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.363, allocations: 25.34 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.363, allocations: 0 / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3631, allocations: 39.88 kB / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3631, allocations: 0 / 0.5347 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.3646, allocations: 409.6 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3646, allocations: 56.81 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3648, allocations: 195.6 kB / 0.5353 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3649, allocations: 34.89 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.365, allocations: 105.6 kB / 0.5355 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.365, allocations: 35.16 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.3651, allocations: 25.53 kB / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3652, allocations: 322.1 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3654, allocations: 48.05 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3655, allocations: 43.62 kB / 0.5359 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.3658, allocations: 104.5 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3658, allocations: 1.125 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003334/0.3661, allocations: 145.5 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3661, allocations: 5.219 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3661, allocations: 5.031 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3662, allocations: 3.938 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3663, allocations: 24.48 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3663, allocations: 1.406 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.3664, allocations: 14.05 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3664, allocations: 6.688 kB / 0.5362 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 (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.0001038/0.3665, allocations: 126.8 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3666, allocations: 18.34 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.367, allocations: 162.1 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.367, allocations: 5.188 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.367, allocations: 0.9062 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.367, allocations: 0 / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007564/0.3678, allocations: 480.5 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3678, allocations: 1.438 kB / 0.537 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3679, allocations: 27.81 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3679, allocations: 2.312 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.368, allocations: 1.375 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.368, allocations: 1.5 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.368, allocations: 1.312 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.3684, allocations: 263.1 kB / 0.5373 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-05/0.3685, allocations: 89.48 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3685, allocations: 5.281 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3686, allocations: 18.52 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.3687, allocations: 12.45 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3687, allocations: 4.281 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3689, allocations: 145.8 kB / 0.5375 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3689, allocations: 1.25 kB / 0.5375 GB, free: 7.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.3692, allocations: 24.91 kB / 0.5376 GB, free: 7.66 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.002364/0.3716, allocations: 1.142 MB / 0.5387 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.3719, allocations: 111.2 kB / 0.5388 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.372, allocations: 0 / 0.5388 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3721, allocations: 62.91 kB / 0.5388 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3725, allocations: 23.58 kB / 0.5389 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3751, allocations: 1.819 MB / 0.5406 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3755, allocations: 0.7086 MB / 0.5413 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.482e-05/0.3755, allocations: 21.56 kB / 0.5413 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.3756, allocations: 39.42 kB / 0.5414 GB, free: 4.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3756, allocations: 0 / 0.5414 GB, free: 4.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.4013, allocations: 3.385 MB / 0.5447 GB, free: 2.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.773, allocations: 10.91 kB / 0.5447 GB, free: 2.574 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1)