Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.41 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.2296/0.2296, allocations: 46.12 MB / 344.3 MB, free: 11.48 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.002256/0.002256, allocations: 79.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3576, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003162/0.3608, allocations: 1.596 MB / 0.5322 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3618, allocations: 0.5319 MB / 0.5327 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.3619, allocations: 1.312 kB / 0.5327 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.3621, allocations: 32.23 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.3624, allocations: 77 kB / 0.5328 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3627, allocations: 90.52 kB / 0.5329 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3628, allocations: 59.17 kB / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.3629, allocations: 9.375 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.363, allocations: 33 kB / 0.533 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.363, allocations: 21.2 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3631, allocations: 3.656 kB / 0.533 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.3632, allocations: 35.69 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.3632, allocations: 13.3 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.3633, allocations: 25.23 kB / 0.5331 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3634, allocations: 82.59 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3634, allocations: 1.25 kB / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3634, allocations: 0 / 0.5332 GB, free: 11.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.3635, allocations: 0 / 0.5332 GB, free: 11.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004928/0.364, allocations: 397.8 kB / 0.5335 GB, free: 10.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.364, allocations: 9.375 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.364, allocations: 34.75 kB / 0.5336 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.3641, allocations: 9.328 kB / 0.5336 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3643, allocations: 196.9 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3644, allocations: 1.969 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3644, allocations: 2.062 kB / 0.5338 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3645, allocations: 48.47 kB / 0.5338 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3646, allocations: 4 kB / 0.5338 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3646, allocations: 3.984 kB / 0.5338 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3646, allocations: 5.312 kB / 0.5338 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.3647, allocations: 32.28 kB / 0.5339 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3651, allocations: 280 kB / 0.5341 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3653, allocations: 40.44 kB / 0.5342 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.3653, allocations: 14.36 kB / 0.5342 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.3654, allocations: 5.312 kB / 0.5342 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.3654, allocations: 40.02 kB / 0.5342 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3654, allocations: 0 / 0.5342 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005456/0.366, allocations: 137.9 kB / 0.5344 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.366, allocations: 51.41 kB / 0.5344 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3662, allocations: 171.4 kB / 0.5346 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3662, allocations: 29.7 kB / 0.5346 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.3663, allocations: 96.25 kB / 0.5347 GB, free: 9.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3663, allocations: 21.17 kB / 0.5347 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.3664, allocations: 13.84 kB / 0.5347 GB, free: 9.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3665, allocations: 321.6 kB / 0.535 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.022e-05/0.3666, allocations: 18.98 kB / 0.5351 GB, free: 9.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.914e-05/0.3667, allocations: 18.98 kB / 0.5351 GB, free: 9.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3668, allocations: 48.39 kB / 0.5351 GB, free: 9.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3668, allocations: 4 kB / 0.5351 GB, free: 9.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.367, allocations: 85.19 kB / 0.5352 GB, free: 9.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.367, allocations: 4.125 kB / 0.5352 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.367, allocations: 1.375 kB / 0.5352 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3671, allocations: 0 / 0.5352 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.3671, allocations: 13.61 kB / 0.5352 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3671, allocations: 5.312 kB / 0.5352 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.3672, allocations: 6.75 kB / 0.5352 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.3672, allocations: 5.359 kB / 0.5352 GB, free: 9.273 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.0001107/0.3673, allocations: 115.3 kB / 0.5354 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.3674, allocations: 12.02 kB / 0.5354 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3677, allocations: 93.53 kB / 0.5355 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3677, allocations: 1.375 kB / 0.5355 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3677, allocations: 3.938 kB / 0.5355 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3677, allocations: 4 kB / 0.5355 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3682, allocations: 348.3 kB / 0.5358 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3682, allocations: 0 / 0.5358 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.3682, allocations: 14.02 kB / 0.5358 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.3682, allocations: 3.938 kB / 0.5358 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3683, allocations: 5.375 kB / 0.5358 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3683, allocations: 3.984 kB / 0.5358 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3683, allocations: 1.5 kB / 0.5358 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3685, allocations: 179 kB / 0.536 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3686, allocations: 87.22 kB / 0.5361 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3686, allocations: 9.031 kB / 0.5361 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3687, allocations: 2.906 kB / 0.5361 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3688, allocations: 6.828 kB / 0.5361 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3688, allocations: 1.312 kB / 0.5361 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3689, allocations: 132.1 kB / 0.5362 GB, free: 8.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3689, allocations: 0 / 0.5362 GB, free: 8.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3692, allocations: 13.55 kB / 0.5362 GB, free: 8.324 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.001936/0.3711, allocations: 1.019 MB / 0.5372 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3713, allocations: 47.62 kB / 0.5373 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3713, allocations: 0 / 0.5373 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.3714, allocations: 27.67 kB / 0.5373 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3718, allocations: 18.14 kB / 0.5373 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3737, allocations: 1.463 MB / 0.5387 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.374, allocations: 0.692 MB / 0.5394 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.3741, allocations: 12.8 kB / 0.5394 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.3741, allocations: 24.62 kB / 0.5395 GB, free: 5.395 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3741, allocations: 0 / 0.5395 GB, free: 5.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3977, allocations: 2.602 MB / 0.542 GB, free: 3.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.421, allocations: 13.48 kB / 0.542 GB, free: 3.934 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1)