Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001929/0.001929, allocations: 117.6 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.002096/0.002096, allocations: 199.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.551/1.551, 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.2238/0.2238, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002249/0.002249, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.329, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003509/0.3325, allocations: 1.856 MB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3344, allocations: 1.013 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.3345, allocations: 0 / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.3348, allocations: 66.91 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.3352, allocations: 120.6 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.3356, allocations: 159.3 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.3359, allocations: 205.9 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.336, allocations: 24.55 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3362, allocations: 85.97 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3363, allocations: 99.39 kB / 0.5342 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.3364, allocations: 21.62 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3365, allocations: 42.23 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3366, allocations: 41.52 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.3367, allocations: 71.78 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.337, allocations: 192.9 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.337, allocations: 5.078 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.041e-06/0.337, allocations: 0 / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.337, allocations: 7.938 kB / 0.5345 GB, free: 10.39 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001158/0.3382, allocations: 0.5803 MB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3383, allocations: 9.719 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.3383, allocations: 36.09 kB / 0.5351 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.3384, allocations: 18.25 kB / 0.5351 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3387, allocations: 241.8 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3387, allocations: 3.594 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3387, allocations: 8.25 kB / 0.5354 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.3393, allocations: 147.5 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3393, allocations: 3.938 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3393, allocations: 1.094 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3393, allocations: 5.125 kB / 0.5355 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.3401, allocations: 158.3 kB / 0.5357 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.3406, allocations: 375 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008392/0.3415, allocations: 197.7 kB / 0.5362 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.3419, allocations: 86.7 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3419, allocations: 1.094 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006339/0.3426, allocations: 171 kB / 0.5365 GB, free: 8.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3426, allocations: 0 / 0.5365 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003848/0.3464, allocations: 0.8218 MB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3465, allocations: 65.66 kB / 0.5373 GB, free: 8.203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.3469, allocations: 250.4 kB / 0.5376 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.3469, allocations: 28.2 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.347, allocations: 119.9 kB / 0.5377 GB, free: 7.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.3471, allocations: 44.72 kB / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.3472, allocations: 37.27 kB / 0.5378 GB, free: 7.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3474, allocations: 331.9 kB / 0.5381 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007653/0.3482, allocations: 169.9 kB / 0.5383 GB, free: 7.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.3489, allocations: 168.8 kB / 0.5384 GB, free: 7.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.3503, allocations: 362 kB / 0.5388 GB, free: 7.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3503, allocations: 8 kB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001603/0.3519, allocations: 459 kB / 0.5392 GB, free: 6.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/0.352, allocations: 65.89 kB / 0.5393 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.352, allocations: 1 kB / 0.5393 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3521, allocations: 0 / 0.5393 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.3525, allocations: 72.75 kB / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3525, allocations: 1.172 kB / 0.5394 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.3529, allocations: 67.75 kB / 0.5394 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.353, allocations: 8.328 kB / 0.5394 GB, free: 6.719 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001602/0.3531, allocations: 142.3 kB / 0.5396 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3532, allocations: 20.36 kB / 0.5396 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3548, allocations: 402.5 kB / 0.54 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3548, allocations: 5.188 kB / 0.54 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3548, allocations: 0 / 0.54 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3548, allocations: 5.219 kB / 0.54 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.3567, allocations: 0.7087 MB / 0.5407 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.3567, allocations: 0 / 0.5407 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.3571, allocations: 75.44 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3571, allocations: 1.125 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3571, allocations: 1.062 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3571, allocations: 1.094 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3571, allocations: 0 / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3587, allocations: 488 kB / 0.5412 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.3588, allocations: 93.98 kB / 0.5413 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.3588, allocations: 9.297 kB / 0.5413 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.3592, allocations: 58.72 kB / 0.5414 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.3594, allocations: 53.31 kB / 0.5414 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3594, allocations: 3.656 kB / 0.5414 GB, free: 5.289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001936/0.3596, allocations: 187 kB / 0.5416 GB, free: 5.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3596, allocations: 0 / 0.5416 GB, free: 5.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.3599, allocations: 45.72 kB / 0.5417 GB, free: 5.16 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003259/0.3632, allocations: 1.317 MB / 0.5429 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.3649, allocations: 467.5 kB / 0.5434 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3649, allocations: 4 kB / 0.5434 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007591/0.3657, allocations: 179.8 kB / 0.5436 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3661, allocations: 40.78 kB / 0.5436 GB, free: 3.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.3724, allocations: 2.828 MB / 0.5464 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3728, allocations: 0.728 MB / 0.5471 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.373, allocations: 21.42 kB / 0.5471 GB, free: 440 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3732, allocations: 55.41 kB / 0.5471 GB, free: 384 kB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3732, allocations: 0 / 0.5471 GB, free: 384 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.4004, allocations: 5.78 MB / 0.5528 GB, free: 10.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.629, allocations: 8.094 kB / 0.5528 GB, free: 10.7 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)