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.0008766/0.0008766, allocations: 94.97 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 194.4 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 45.91 MB / 344.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 4 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 63.48 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3705/0.5121, allocations: 41.7 MB / 0.5111 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02717/0.5393, allocations: 9.446 MB / 0.5203 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.5497, allocations: 199.3 kB / 0.5205 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008512/0.5582, allocations: 2.147 MB / 0.5226 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02408/0.5824, allocations: 6.438 MB / 0.5289 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005776/0.5882, allocations: 0.6031 MB / 0.5295 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01112/0.5993, allocations: 4.816 MB / 0.5342 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007553/0.6069, allocations: 4.017 MB / 0.5381 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.6104, allocations: 1.216 MB / 0.5393 GB, free: 3.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/0.6142, allocations: 1.818 MB / 0.541 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.6153, allocations: 130.4 kB / 0.5412 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.6188, allocations: 0.9375 MB / 0.5421 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002792/0.6216, allocations: 1.685 MB / 0.5437 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.6233, allocations: 0.8167 MB / 0.5445 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006907/0.6302, allocations: 5.291 MB / 0.5497 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.6303, allocations: 0 / 0.5497 GB, free: 14.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.6303, allocations: 0 / 0.5497 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002791/0.6306, allocations: 1.203 kB / 0.5497 GB, free: 14.68 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01002/0.6406, allocations: 3.917 MB / 0.5535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6406, allocations: 8.031 kB / 0.5535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002317/0.643, allocations: 0.707 MB / 0.5542 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007523/0.6505, allocations: 2.05 MB / 0.5562 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/0.6569, allocations: 2.724 MB / 0.5589 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.6572, allocations: 234.2 kB / 0.5591 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.6585, allocations: 411.4 kB / 0.5595 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.6777, allocations: 9.893 MB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.6779, allocations: 47.58 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/0.6784, allocations: 151.5 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002715/0.6811, allocations: 1.814 MB / 0.5711 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.6982, allocations: 8.32 MB / 0.5792 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04954/0.7478, allocations: 38.85 MB / 0.6172 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00891/0.7568, allocations: 3.751 MB / 0.6208 GB, free: 5.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/0.759, allocations: 1.561 MB / 0.6224 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.7712, allocations: 7.806 MB / 0.63 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.7713, allocations: 43.56 kB / 0.63 GB, free: 11.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 5.72e-06/0.7713, allocations: 4 kB / 0.63 GB, free: 11.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03661/0.8079, allocations: 14.33 MB / 0.644 GB, free: 12.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001351/0.8093, allocations: 1.589 MB / 0.6456 GB, free: 11.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006244/0.8156, allocations: 3.845 MB / 0.6493 GB, free: 7.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000437/0.8161, allocations: 45.7 kB / 0.6494 GB, free: 7.348 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.8187, allocations: 3.097 MB / 0.6524 GB, free: 4.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.8198, allocations: 0.6458 MB / 0.653 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.8201, allocations: 120 kB / 0.6532 GB, free: 3.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003961/0.8205, allocations: 0.5542 MB / 0.6537 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.8237, allocations: 1.983 MB / 0.6556 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/0.8298, allocations: 5.723 MB / 0.6612 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/0.8358, allocations: 3.28 MB / 0.6644 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.583e-05/0.836, allocations: 40 kB / 0.6645 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01864/0.8546, allocations: 8.279 MB / 0.6725 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.8548, allocations: 64 kB / 0.6726 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005351/0.8601, allocations: 2.584 MB / 0.6751 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/0.8638, allocations: 1.19 MB / 0.6763 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005355/0.8692, allocations: 1.368 MB / 0.6776 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/0.8752, allocations: 4.654 MB / 0.6822 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005896/0.8811, allocations: 399.4 kB / 0.6826 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/0.8824, allocations: 374.6 kB / 0.6829 GB, free: 2.816 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.005531/0.888, allocations: 2.049 MB / 0.6849 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/0.8892, allocations: 331.7 kB / 0.6852 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.8909, allocations: 448.3 kB / 0.6857 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005462/0.8964, allocations: 2.519 MB / 0.6881 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.8964, allocations: 0 / 0.6881 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/0.8965, allocations: 15.92 kB / 0.6881 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02545/0.9219, allocations: 9.39 MB / 0.6973 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.922, allocations: 4 kB / 0.6973 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.9234, allocations: 271.5 kB / 0.6976 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003278/0.9267, allocations: 1.068 MB / 0.6986 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/0.9271, allocations: 43.97 kB / 0.6987 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006789/0.9339, allocations: 4.802 MB / 0.7033 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00145/0.9353, allocations: 1.458 MB / 0.7048 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.9456, allocations: 5.363 MB / 0.71 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.9472, allocations: 392.5 kB / 0.7104 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009985/0.9482, allocations: 35.98 kB / 0.7104 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/0.9502, allocations: 143.8 kB / 0.7105 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/0.9505, allocations: 107.8 kB / 0.7107 GB, free: 5.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.9507, allocations: 51.98 kB / 0.7107 GB, free: 5.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005547/0.9562, allocations: 2.363 MB / 0.713 GB, free: 3.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.693e-06/0.9562, allocations: 0 / 0.713 GB, free: 3.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006918/0.9632, allocations: 1.004 MB / 0.714 GB, free: 2.312 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.3067/1.27, allocations: 5.894 MB / 0.7197 GB, free: 189.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.281, allocations: 5.378 MB / 0.725 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.281, allocations: 1.375 kB / 0.725 GB, free: 188.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00428/1.285, allocations: 2.087 MB / 0.727 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.288, allocations: 442.9 kB / 0.7275 GB, free: 187.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0662/1.355, allocations: 33.66 MB / 0.7603 GB, free: 165.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/1.358, allocations: 3.189 MB / 0.7634 GB, free: 164.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004426/1.363, allocations: 1.858 MB / 0.7653 GB, free: 163.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001962/1.365, allocations: 1.827 MB / 0.767 GB, free: 161.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.853e-06/1.365, allocations: 0 / 0.767 GB, free: 161.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/1.468, allocations: 73.65 MB / 0.839 GB, free: 88.42 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/1.469, allocations: 210.5 kB / 0.8392 GB, free: 88.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.022/5.491, allocations: 0 / 0.8392 GB, free: 88.18 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