Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_3_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.001353/0.001353, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 175.1 kB / 16.56 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4531/0.4531, allocations: 43.54 MB / 314.5 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.0006069, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1425, allocations: 58.86 MB / 442.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3331/0.4757, allocations: 39.7 MB / 482.5 MB, free: 26.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02627/0.502, allocations: 9.852 MB / 492.4 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01153/0.5136, allocations: 196.5 kB / 492.6 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007649/0.5213, allocations: 1.96 MB / 494.6 MB, free: 19.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02127/0.5426, allocations: 5.747 MB / 0.4886 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.5463, allocations: 0.5839 MB / 0.4891 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006016/0.5524, allocations: 2.382 MB / 0.4915 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009131/0.5615, allocations: 4.03 MB / 0.4954 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003356/0.5649, allocations: 1.027 MB / 0.4964 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/0.5685, allocations: 1.3 MB / 0.4977 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.57, allocations: 136.7 kB / 0.4978 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.5734, allocations: 0.9284 MB / 0.4987 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003816/0.5773, allocations: 1.612 MB / 0.5003 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.5801, allocations: 0.8439 MB / 0.5011 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.5903, allocations: 5.483 MB / 0.5065 GB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5904, allocations: 0 / 0.5065 GB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5904, allocations: 1.094 kB / 0.5065 GB, free: 9.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004185/0.5908, allocations: 0 / 0.5065 GB, free: 9.496 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: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.0157/0.6065, allocations: 4.066 MB / 0.5104 GB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.6066, allocations: 12.73 kB / 0.5105 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003769/0.6104, allocations: 0.7272 MB / 0.5112 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.6207, allocations: 2.314 MB / 0.5134 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009172/0.6299, allocations: 2.728 MB / 0.5161 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/0.6303, allocations: 248.8 kB / 0.5163 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00254/0.6329, allocations: 414.9 kB / 0.5167 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02742/0.6603, allocations: 10.25 MB / 0.5267 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/0.6607, allocations: 43.59 kB / 0.5268 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001941/0.6626, allocations: 155.9 kB / 0.5269 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003531/0.6662, allocations: 1.88 MB / 0.5288 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/0.6881, allocations: 8.693 MB / 0.5372 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06598/0.7542, allocations: 39.91 MB / 0.5762 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/0.7644, allocations: 3.858 MB / 0.58 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01339/0.7778, allocations: 7.979 MB / 0.5878 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.7779, allocations: 51.56 kB / 0.5878 GB, free: 8.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.851e-06/0.7779, allocations: 0 / 0.5878 GB, free: 8.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.03949/0.8174, allocations: 14.92 MB / 0.6024 GB, free: 9.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001378/0.8188, allocations: 1.612 MB / 0.604 GB, free: 7.945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006979/0.8258, allocations: 4.153 MB / 0.608 GB, free: 3.762 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005298/0.8264, allocations: 49.69 kB / 0.6081 GB, free: 3.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002452/0.8289, allocations: 3.167 MB / 0.6112 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.8301, allocations: 0.6752 MB / 0.6118 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.8304, allocations: 128 kB / 0.6119 GB, free: 15.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003503/0.8307, allocations: 0.5587 MB / 0.6125 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/0.8341, allocations: 2.077 MB / 0.6145 GB, free: 13.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005904/0.84, allocations: 5.873 MB / 0.6203 GB, free: 5.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00565/0.8457, allocations: 3.405 MB / 0.6236 GB, free: 1.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.557e-05/0.8458, allocations: 40 kB / 0.6236 GB, free: 1.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.02252/0.8683, allocations: 9.433 MB / 0.6328 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.8684, allocations: 60 kB / 0.6329 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0109/0.8794, allocations: 3.613 MB / 0.6364 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.8902, allocations: 2.289 MB / 0.6386 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005967/0.8962, allocations: 1.407 MB / 0.64 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3072/1.203, allocations: 6.648 MB / 0.6465 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/1.211, allocations: 407.5 kB / 0.6469 GB, free: 147.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001873/1.213, allocations: 381.3 kB / 0.6473 GB, free: 147.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (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 (762): * Single equations (assignments): 753 * 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.006623/1.22, allocations: 2.1 MB / 0.6493 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.221, allocations: 346.2 kB / 0.6496 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006879/1.228, allocations: 3.075 MB / 0.6527 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00488/1.233, allocations: 2.583 MB / 0.6552 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.233, allocations: 4.375 kB / 0.6552 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/1.233, allocations: 9.938 kB / 0.6552 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/1.254, allocations: 9.676 MB / 0.6646 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.254, allocations: 3 kB / 0.6646 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/1.255, allocations: 278.7 kB / 0.6649 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/1.258, allocations: 1.063 MB / 0.6659 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/1.259, allocations: 53.41 kB / 0.666 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/1.265, allocations: 4.889 MB / 0.6708 GB, free: 140.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0011/1.266, allocations: 1.475 MB / 0.6722 GB, free: 138.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.279, allocations: 5.954 MB / 0.678 GB, free: 136.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/1.281, allocations: 418.5 kB / 0.6784 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007458/1.282, allocations: 37.08 kB / 0.6785 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.284, allocations: 135 kB / 0.6786 GB, free: 136 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/1.284, allocations: 118.3 kB / 0.6787 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.284, allocations: 53.97 kB / 0.6788 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006887/1.291, allocations: 2.603 MB / 0.6813 GB, free: 135 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.02e-07/1.291, allocations: 0 / 0.6813 GB, free: 135 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009062/1.3, allocations: 1.075 MB / 0.6823 GB, free: 134.9 MB / 0.4981 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 (136): * Single equations (assignments): 129 * 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.01051/1.311, allocations: 7.493 MB / 0.6897 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009896/1.321, allocations: 5.581 MB / 0.6951 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.321, allocations: 0 / 0.6951 GB, free: 128.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003691/1.325, allocations: 2.115 MB / 0.6972 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00292/1.328, allocations: 427.9 kB / 0.6976 GB, free: 127.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/1.439, allocations: 129.1 MB / 0.8236 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005168/1.444, allocations: 3.334 MB / 0.8269 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005257/1.45, allocations: 1.92 MB / 0.8288 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003636/1.453, allocations: 1.893 MB / 0.8306 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/1.453, allocations: 0 / 0.8306 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3893/1.843, allocations: 78.86 MB / 0.9076 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.843, allocations: 209.5 kB / 0.9078 GB, free: 132.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/5.952, allocations: 0 / 0.9078 GB, free: 132.5 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat