Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009949/0.0009948, allocations: 96.64 kB / 17 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 194.2 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 45.93 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003317, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 63.46 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Bodies): time 0.34/0.4801, allocations: 64.06 MB / 0.5329 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03889/0.5191, allocations: 13.34 MB / 0.5459 GB, free: 500 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01953/0.5386, allocations: 311.1 kB / 0.5462 GB, free: 448 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.55, allocations: 3.167 MB / 0.5493 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02832/0.5784, allocations: 9.561 MB / 0.5587 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.5834, allocations: 0.9266 MB / 0.5596 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0797/0.6632, allocations: 62.6 MB / 0.6207 GB, free: 9.645 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007101/0.6703, allocations: 4.226 MB / 0.6248 GB, free: 5.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.6742, allocations: 1.526 MB / 0.6263 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/0.6785, allocations: 2.532 MB / 0.6288 GB, free: 1.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009056/0.6794, allocations: 143.9 kB / 0.6289 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.6815, allocations: 0.6087 MB / 0.6295 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.684, allocations: 2.038 MB / 0.6315 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.6852, allocations: 0.7999 MB / 0.6323 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005569/0.6908, allocations: 5.412 MB / 0.6376 GB, free: 8.277 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6908, allocations: 0 / 0.6376 GB, free: 8.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6908, allocations: 4 kB / 0.6376 GB, free: 8.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001926/0.691, allocations: 0 / 0.6376 GB, free: 8.273 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01056/0.7016, allocations: 4.629 MB / 0.6421 GB, free: 3.574 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.7017, allocations: 8.031 kB / 0.6421 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/0.7028, allocations: 0.5118 MB / 0.6426 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07649/0.7793, allocations: 8.394 MB / 0.6508 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.7897, allocations: 4.982 MB / 0.6557 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.79, allocations: 217.2 kB / 0.6559 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006768/0.7907, allocations: 287.6 kB / 0.6561 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.8017, allocations: 6.933 MB / 0.6629 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/0.8019, allocations: 55.55 kB / 0.663 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.8022, allocations: 123.9 kB / 0.6631 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.8037, allocations: 1.006 MB / 0.6641 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.8141, allocations: 4.947 MB / 0.6689 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/0.8482, allocations: 27.27 MB / 0.6955 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.8507, allocations: 0.735 MB / 0.6962 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.851, allocations: 220.4 kB / 0.6965 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.8511, allocations: 11.94 kB / 0.6965 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.8511, allocations: 46.5 kB / 0.6965 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=37): time 2.245e-06/0.8511, allocations: 0 / 0.6965 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37): time 0.006513/0.8576, allocations: 1.94 MB / 0.6984 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.8578, allocations: 239.3 kB / 0.6986 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007218/0.865, allocations: 4.738 MB / 0.7033 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.314e-05/0.8651, allocations: 29.7 kB / 0.7033 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00245/0.8676, allocations: 2.754 MB / 0.706 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.8678, allocations: 202.1 kB / 0.7062 GB, free: 376 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.8679, allocations: 68 kB / 0.7062 GB, free: 308 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.2859/1.154, allocations: 450.1 kB / 0.7067 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/1.156, allocations: 0.7781 MB / 0.7074 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/1.16, allocations: 3.401 MB / 0.7107 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/1.163, allocations: 1.543 MB / 0.7123 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.458e-05/1.163, allocations: 27.3 kB / 0.7123 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007874/1.171, allocations: 4.024 MB / 0.7162 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.054e-05/1.171, allocations: 46.88 kB / 0.7163 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/1.171, allocations: 94.84 kB / 0.7163 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/1.171, allocations: 136 kB / 0.7165 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.173, allocations: 0.8598 MB / 0.7173 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001817/1.174, allocations: 184.7 kB / 0.7175 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/1.177, allocations: 0.5339 MB / 0.718 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/1.178, allocations: 238.5 kB / 0.7182 GB, free: 184.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003205/1.181, allocations: 1.623 MB / 0.7198 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.182, allocations: 380.4 kB / 0.7202 GB, free: 184 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/1.183, allocations: 403.7 kB / 0.7206 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.183, allocations: 5.875 kB / 0.7206 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.183, allocations: 0.9375 kB / 0.7206 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/1.183, allocations: 4.062 kB / 0.7206 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008402/1.191, allocations: 4.743 MB / 0.7252 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.191, allocations: 13.33 kB / 0.7252 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/1.192, allocations: 116.1 kB / 0.7253 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.274e-05/1.192, allocations: 23.44 kB / 0.7254 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/1.192, allocations: 31.3 kB / 0.7254 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.924e-05/1.192, allocations: 25.22 kB / 0.7254 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-05/1.192, allocations: 23.47 kB / 0.7254 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/1.194, allocations: 1.241 MB / 0.7266 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.195, allocations: 490.8 kB / 0.7271 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/1.195, allocations: 39.27 kB / 0.7272 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/1.196, allocations: 37.14 kB / 0.7272 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/1.196, allocations: 80.84 kB / 0.7273 GB, free: 180 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/1.197, allocations: 32.41 kB / 0.7273 GB, free: 180 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005347/1.202, allocations: 3.116 MB / 0.7303 GB, free: 179 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.252e-06/1.202, allocations: 0 / 0.7303 GB, free: 179 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005225/1.207, allocations: 0.834 MB / 0.7312 GB, free: 178.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/1.209, allocations: 1.816 MB / 0.7329 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003982/1.213, allocations: 1.889 MB / 0.7348 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.213, allocations: 0 / 0.7348 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/1.214, allocations: 263.3 kB / 0.735 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/1.217, allocations: 0.6443 MB / 0.7357 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0514/1.269, allocations: 30.13 MB / 0.7651 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.273, allocations: 2.854 MB / 0.7679 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003255/1.276, allocations: 1.15 MB / 0.769 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.278, allocations: 1.702 MB / 0.7706 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.183e-06/1.278, allocations: 0 / 0.7706 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09525/1.373, allocations: 67.23 MB / 0.8363 GB, free: 71.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.373, allocations: 174.2 kB / 0.8365 GB, free: 71.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/5.113, allocations: 0 / 0.8365 GB, free: 71.67 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat