Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001287, allocations: 96.86 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 208.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 45.9 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003146, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 63.46 MB / 481.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3289/0.4798, allocations: 39.41 MB / 0.5087 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.5042, allocations: 9.83 MB / 0.5183 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01167/0.5159, allocations: 200.7 kB / 0.5185 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008989/0.525, allocations: 1.943 MB / 0.5204 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02287/0.5479, allocations: 5.718 MB / 0.526 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.5515, allocations: 0.5826 MB / 0.5266 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006709/0.5583, allocations: 2.386 MB / 0.5289 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007693/0.566, allocations: 3.983 MB / 0.5328 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.5687, allocations: 0.9926 MB / 0.5338 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.5711, allocations: 1.241 MB / 0.535 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.5719, allocations: 134.9 kB / 0.5351 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.5743, allocations: 0.9154 MB / 0.536 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.5762, allocations: 1.558 MB / 0.5375 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.5776, allocations: 0.822 MB / 0.5383 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007386/0.585, allocations: 5.281 MB / 0.5435 GB, free: 2.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.585, allocations: 0 / 0.5435 GB, free: 2.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5851, allocations: 0 / 0.5435 GB, free: 2.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003219/0.5854, allocations: 0 / 0.5435 GB, free: 2.414 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01052/0.5959, allocations: 3.97 MB / 0.5473 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.596, allocations: 8.062 kB / 0.5474 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002173/0.5982, allocations: 0.7091 MB / 0.548 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008752/0.6069, allocations: 2.343 MB / 0.5503 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007084/0.614, allocations: 2.541 MB / 0.5528 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.6143, allocations: 233.3 kB / 0.553 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001696/0.616, allocations: 407.5 kB / 0.5534 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.6358, allocations: 9.999 MB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001431/0.6359, allocations: 47.58 kB / 0.5632 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.6364, allocations: 152.6 kB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002681/0.6391, allocations: 1.818 MB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.6561, allocations: 8.441 MB / 0.5734 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05982/0.716, allocations: 39.02 MB / 0.6115 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.7262, allocations: 3.771 MB / 0.6152 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0156/0.7419, allocations: 7.9 MB / 0.6229 GB, free: 2.719 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.742, allocations: 55.5 kB / 0.623 GB, free: 2.656 MB / 462.1 MB Notification: Performance of pre-optimization done (n=144): time 5.971e-06/0.742, allocations: 0 / 0.623 GB, free: 2.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03937/0.7814, allocations: 14.64 MB / 0.6373 GB, free: 3.789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00143/0.7828, allocations: 1.604 MB / 0.6388 GB, free: 2.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006263/0.7891, allocations: 4.079 MB / 0.6428 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000492/0.7896, allocations: 48.12 kB / 0.6429 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/0.7928, allocations: 3.091 MB / 0.6459 GB, free: 10.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001304/0.7941, allocations: 0.6419 MB / 0.6465 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.7944, allocations: 118.7 kB / 0.6466 GB, free: 10.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004294/0.7948, allocations: 0.5542 MB / 0.6472 GB, free: 9.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.7983, allocations: 2.034 MB / 0.6491 GB, free: 7.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/0.8046, allocations: 5.735 MB / 0.6547 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/0.8099, allocations: 3.331 MB / 0.658 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.974e-05/0.81, allocations: 36 kB / 0.658 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02307/0.8331, allocations: 9.334 MB / 0.6671 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.8333, allocations: 64.19 kB / 0.6672 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01136/0.8447, allocations: 3.626 MB / 0.6707 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.8555, allocations: 2.375 MB / 0.6731 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004806/0.8603, allocations: 1.372 MB / 0.6744 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.8707, allocations: 6.708 MB / 0.681 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/0.8771, allocations: 407.4 kB / 0.6813 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/0.8786, allocations: 374.5 kB / 0.6817 GB, free: 3.918 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 731 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005402/0.8841, allocations: 2.045 MB / 0.6837 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/0.8851, allocations: 335.6 kB / 0.684 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.8862, allocations: 450 kB / 0.6844 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005207/0.8914, allocations: 2.517 MB / 0.6869 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.8915, allocations: 4 kB / 0.6869 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.023e-05/0.8915, allocations: 15.97 kB / 0.6869 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/0.9115, allocations: 9.402 MB / 0.6961 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.9116, allocations: 7.938 kB / 0.6961 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.9128, allocations: 272.1 kB / 0.6964 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003224/0.916, allocations: 1.061 MB / 0.6974 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/0.9163, allocations: 42.7 kB / 0.6975 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/0.9219, allocations: 4.89 MB / 0.7022 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001187/0.9231, allocations: 1.475 MB / 0.7037 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009464/0.9326, allocations: 5.827 MB / 0.7094 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.934, allocations: 408.5 kB / 0.7097 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006577/0.9347, allocations: 46.36 kB / 0.7098 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.9362, allocations: 131.8 kB / 0.7099 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.9365, allocations: 112.7 kB / 0.71 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.9367, allocations: 47.98 kB / 0.7101 GB, free: 6.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004483/0.9411, allocations: 2.551 MB / 0.7126 GB, free: 3.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9412, allocations: 0 / 0.7126 GB, free: 3.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006223/0.9474, allocations: 1.041 MB / 0.7136 GB, free: 2.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2835/1.231, allocations: 7.35 MB / 0.7208 GB, free: 189.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.242, allocations: 5.502 MB / 0.7261 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.242, allocations: 0 / 0.7261 GB, free: 187.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004228/1.246, allocations: 2.084 MB / 0.7282 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.249, allocations: 428.7 kB / 0.7286 GB, free: 186.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0834/1.332, allocations: 126.2 MB / 0.8518 GB, free: 73.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003338/1.336, allocations: 3.26 MB / 0.855 GB, free: 71.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004412/1.34, allocations: 1.869 MB / 0.8568 GB, free: 69.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/1.343, allocations: 1.835 MB / 0.8586 GB, free: 68.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/1.343, allocations: 0 / 0.8586 GB, free: 68.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3759/1.719, allocations: 76.91 MB / 0.9337 GB, free: 177.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/1.719, allocations: 203.7 kB / 0.9339 GB, free: 176.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.089/5.809, allocations: 3.391 kB / 0.9339 GB, free: 176.8 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat