Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 96.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 183.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.03528/0.1807, allocations: 39.41 MB / 0.499 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3182/0.499, allocations: 9.795 MB / 0.5085 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00937/0.5084, allocations: 197.6 kB / 0.5087 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.5194, allocations: 1.946 MB / 0.5106 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02261/0.5421, allocations: 5.722 MB / 0.5162 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.5458, allocations: 0.5848 MB / 0.5168 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005776/0.5516, allocations: 2.314 MB / 0.5191 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006521/0.5581, allocations: 3.995 MB / 0.523 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.5606, allocations: 1 MB / 0.5239 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.5629, allocations: 1.239 MB / 0.5251 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005617/0.5635, allocations: 129.6 kB / 0.5253 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.5657, allocations: 0.9342 MB / 0.5262 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.5674, allocations: 1.562 MB / 0.5277 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.5686, allocations: 0.8172 MB / 0.5285 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006938/0.5755, allocations: 5.288 MB / 0.5337 GB, free: 4.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5756, allocations: 0 / 0.5337 GB, free: 4.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.5756, allocations: 0 / 0.5337 GB, free: 4.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003346/0.576, allocations: 6.594 kB / 0.5337 GB, free: 4.867 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.01116/0.5871, allocations: 3.97 MB / 0.5375 GB, free: 2.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.5872, allocations: 9.125 kB / 0.5376 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002153/0.5894, allocations: 0.7056 MB / 0.5382 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009592/0.599, allocations: 2.295 MB / 0.5405 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/0.6062, allocations: 2.532 MB / 0.543 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.6064, allocations: 240.4 kB / 0.5432 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/0.6076, allocations: 401.1 kB / 0.5436 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.6262, allocations: 9.959 MB / 0.5533 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.6264, allocations: 46.52 kB / 0.5533 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.6268, allocations: 158.3 kB / 0.5535 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/0.6296, allocations: 1.813 MB / 0.5553 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.6474, allocations: 8.402 MB / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0603/0.7077, allocations: 39.03 MB / 0.6016 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00976/0.7175, allocations: 3.739 MB / 0.6052 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/0.731, allocations: 7.805 MB / 0.6129 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.7311, allocations: 55.45 kB / 0.6129 GB, free: 13.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=144): time 5.079e-06/0.7311, allocations: 0 / 0.6129 GB, free: 13.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03901/0.7701, allocations: 14.51 MB / 0.6271 GB, free: 14.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001678/0.7719, allocations: 1.619 MB / 0.6287 GB, free: 13.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007047/0.7789, allocations: 4.072 MB / 0.6326 GB, free: 9.125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005297/0.7795, allocations: 49.89 kB / 0.6327 GB, free: 9.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002926/0.7824, allocations: 3.091 MB / 0.6357 GB, free: 5.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.7836, allocations: 0.6456 MB / 0.6363 GB, free: 5.355 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.7839, allocations: 120 kB / 0.6364 GB, free: 5.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004513/0.7844, allocations: 0.558 MB / 0.637 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.7877, allocations: 2.01 MB / 0.639 GB, free: 2.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006293/0.794, allocations: 5.73 MB / 0.6445 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00554/0.7995, allocations: 3.313 MB / 0.6478 GB, free: 7.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/0.7997, allocations: 38.19 kB / 0.6478 GB, free: 7.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02429/0.824, allocations: 9.24 MB / 0.6568 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.8241, allocations: 60 kB / 0.6569 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01116/0.8353, allocations: 3.527 MB / 0.6603 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/0.8473, allocations: 2.285 MB / 0.6626 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004757/0.8521, allocations: 1.365 MB / 0.6639 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.8624, allocations: 6.69 MB / 0.6704 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005767/0.8682, allocations: 399.8 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/0.8695, allocations: 370.6 kB / 0.6712 GB, free: 15.48 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.004713/0.8742, allocations: 2.045 MB / 0.6732 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/0.8751, allocations: 339.7 kB / 0.6735 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006129/0.8813, allocations: 2.953 MB / 0.6764 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005221/0.8865, allocations: 2.496 MB / 0.6788 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.8866, allocations: 3.953 kB / 0.6788 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.8866, allocations: 11.97 kB / 0.6788 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.9062, allocations: 9.382 MB / 0.688 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.9063, allocations: 7.953 kB / 0.688 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.9075, allocations: 252.1 kB / 0.6882 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/0.9108, allocations: 1.072 MB / 0.6893 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.911, allocations: 46.47 kB / 0.6893 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005953/0.917, allocations: 4.894 MB / 0.6941 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001306/0.9183, allocations: 1.464 MB / 0.6955 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2741/1.192, allocations: 5.789 MB / 0.7012 GB, free: 180.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/1.194, allocations: 395.4 kB / 0.7016 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/1.195, allocations: 36.67 kB / 0.7016 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.198, allocations: 132.4 kB / 0.7017 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005536/1.199, allocations: 108.6 kB / 0.7018 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002415/1.199, allocations: 49.97 kB / 0.7019 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00787/1.207, allocations: 2.559 MB / 0.7044 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.62e-07/1.207, allocations: 0.75 kB / 0.7044 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01057/1.218, allocations: 1.047 MB / 0.7054 GB, free: 180.6 MB / 0.5294 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.01586/1.233, allocations: 7.332 MB / 0.7126 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0171/1.251, allocations: 5.479 MB / 0.7179 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.251, allocations: 1.219 kB / 0.7179 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005751/1.256, allocations: 2.066 MB / 0.7199 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/1.261, allocations: 424.5 kB / 0.7203 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/1.367, allocations: 126 MB / 0.8434 GB, free: 59.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/1.37, allocations: 3.274 MB / 0.8466 GB, free: 56.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004011/1.374, allocations: 1.865 MB / 0.8484 GB, free: 54.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.376, allocations: 1.835 MB / 0.8502 GB, free: 52.69 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.376, allocations: 0 / 0.8502 GB, free: 52.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4072/1.783, allocations: 77.07 MB / 0.9255 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.783, allocations: 205.9 kB / 0.9257 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.201/5.984, allocations: 0 / 0.9257 GB, free: 177.7 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat