Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 121.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.001409/0.001409, allocations: 200.7 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.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.48 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.2232/0.2232, 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.003493/0.003493, allocations: 88.14 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3571, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00344/0.3605, allocations: 1.595 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3617, allocations: 0.5313 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.3617, allocations: 1.344 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.362, allocations: 30.09 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.3623, allocations: 75.75 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3627, allocations: 94.75 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3628, allocations: 58.28 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3629, allocations: 17.47 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.363, allocations: 24.11 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.3631, allocations: 18.75 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3631, allocations: 2.75 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.3632, allocations: 40.55 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.3632, allocations: 20.03 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.996e-05/0.3633, allocations: 16 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3635, allocations: 84.19 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3635, allocations: 1.375 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3635, allocations: 0 / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3635, allocations: 4 kB / 0.5332 GB, free: 11.41 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.0005337/0.3641, allocations: 396.9 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3641, allocations: 9.625 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.3641, allocations: 32.12 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.3642, allocations: 16.89 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3644, allocations: 192.5 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.3644, allocations: 1.75 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3644, allocations: 1.75 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3646, allocations: 56.62 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3647, allocations: 0 / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3647, allocations: 1.375 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3647, allocations: 0 / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.916e-05/0.3648, allocations: 21.39 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.3652, allocations: 283 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3654, allocations: 48.17 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.3654, allocations: 15.02 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3655, allocations: 1.5 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3655, allocations: 32 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3655, allocations: 0 / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005506/0.366, allocations: 152.9 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3661, allocations: 52.81 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3663, allocations: 167.2 kB / 0.5346 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3663, allocations: 25.7 kB / 0.5346 GB, free: 9.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.3664, allocations: 93.02 kB / 0.5347 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.3664, allocations: 29.89 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.3665, allocations: 17 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3666, allocations: 322.3 kB / 0.535 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.3667, allocations: 21.86 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.3668, allocations: 19.17 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3669, allocations: 43.48 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3669, allocations: 1.406 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001902/0.3671, allocations: 79.5 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3671, allocations: 6.094 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3672, allocations: 4 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3672, allocations: 1.062 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.3672, allocations: 17.55 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3673, allocations: 3.938 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.3673, allocations: 3.531 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3673, allocations: 1.625 kB / 0.5352 GB, free: 9.371 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.0001037/0.3674, allocations: 119.9 kB / 0.5354 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3675, allocations: 12.39 kB / 0.5354 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.3677, allocations: 92.5 kB / 0.5355 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3677, allocations: 1.031 kB / 0.5355 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.3678, allocations: 3.938 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3678, allocations: 1.062 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.3682, allocations: 347.4 kB / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3682, allocations: 5.25 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.3683, allocations: 21.17 kB / 0.5358 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3683, allocations: 3.938 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3683, allocations: 1.156 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3683, allocations: 1.094 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3683, allocations: 0 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3686, allocations: 179.9 kB / 0.536 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3687, allocations: 83.28 kB / 0.5361 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3687, allocations: 9.031 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.67e-05/0.3688, allocations: 3.156 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.3688, allocations: 9.391 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.3688, allocations: 1.5 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3689, allocations: 128.1 kB / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3689, allocations: 0 / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3692, allocations: 13.58 kB / 0.5362 GB, free: 8.426 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.002033/0.3712, allocations: 1.019 MB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.3714, allocations: 43.47 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3714, allocations: 1.375 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.3715, allocations: 27.11 kB / 0.5373 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3719, allocations: 14.86 kB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3736, allocations: 1.462 MB / 0.5387 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.374, allocations: 0.6919 MB / 0.5394 GB, free: 5.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.374, allocations: 22.02 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.3741, allocations: 23.66 kB / 0.5395 GB, free: 5.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3741, allocations: 0 / 0.5395 GB, free: 5.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3973, allocations: 2.605 MB / 0.542 GB, free: 4.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.661, allocations: 7.25 kB / 0.542 GB, free: 4.035 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1)