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.0008071/0.0008071, allocations: 95.77 kB / 15.7 MB, free: 464 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.0008144/0.0008145, allocations: 173.5 kB / 16.58 MB, free: 6.848 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.504/1.504, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.358/0.358, allocations: 43.55 MB / 314.6 MB, free: 8.766 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.0005173/0.0005174, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1041, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2327/0.3368, allocations: 42.02 MB / 484.9 MB, free: 24.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3566, allocations: 9.466 MB / 494.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008278/0.365, allocations: 199.7 kB / 494.6 MB, free: 18.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005981/0.371, allocations: 2.153 MB / 496.7 MB, free: 17.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0168/0.3878, allocations: 6.479 MB / 0.4914 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.3914, allocations: 0.607 MB / 0.492 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007631/0.3991, allocations: 4.841 MB / 0.4967 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009386/0.4085, allocations: 4.043 MB / 0.5007 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.4125, allocations: 1.258 MB / 0.5019 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004088/0.4166, allocations: 1.892 MB / 0.5037 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.4179, allocations: 137.6 kB / 0.5039 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.4213, allocations: 0.961 MB / 0.5048 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003118/0.4245, allocations: 1.733 MB / 0.5065 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.4267, allocations: 0.844 MB / 0.5073 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006689/0.4334, allocations: 5.482 MB / 0.5127 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4334, allocations: 0 / 0.5127 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4334, allocations: 0 / 0.5127 GB, free: 5.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003112/0.4338, allocations: 1.188 kB / 0.5127 GB, free: 5.617 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.01005/0.4438, allocations: 4.018 MB / 0.5166 GB, free: 2.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4439, allocations: 10.31 kB / 0.5166 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002115/0.446, allocations: 0.7301 MB / 0.5173 GB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007062/0.4531, allocations: 2.007 MB / 0.5193 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.4593, allocations: 3.138 MB / 0.5224 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.4596, allocations: 246.2 kB / 0.5226 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.4611, allocations: 407.5 kB / 0.523 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.4828, allocations: 10.17 MB / 0.5329 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/0.4831, allocations: 43.59 kB / 0.533 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001444/0.4845, allocations: 155.9 kB / 0.5331 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003156/0.4877, allocations: 1.877 MB / 0.5349 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.5064, allocations: 8.563 MB / 0.5433 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.5617, allocations: 39.73 MB / 0.5821 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009335/0.5711, allocations: 3.839 MB / 0.5858 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/0.5737, allocations: 1.604 MB / 0.5874 GB, free: 9.902 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/0.5867, allocations: 7.873 MB / 0.5951 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.5868, allocations: 51.55 kB / 0.5951 GB, free: 1.602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 4.869e-06/0.5868, allocations: 8 kB / 0.5951 GB, free: 1.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.03811/0.6249, allocations: 14.6 MB / 0.6094 GB, free: 2.809 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001486/0.6265, allocations: 1.593 MB / 0.611 GB, free: 1.043 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007548/0.634, allocations: 3.923 MB / 0.6148 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004137/0.6345, allocations: 49.7 kB / 0.6148 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.637, allocations: 3.167 MB / 0.6179 GB, free: 9.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.6381, allocations: 0.6867 MB / 0.6186 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.6384, allocations: 120 kB / 0.6187 GB, free: 9.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000432/0.6388, allocations: 0.5663 MB / 0.6193 GB, free: 8.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.642, allocations: 2.022 MB / 0.6212 GB, free: 6.406 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2094/0.8514, allocations: 5.844 MB / 0.627 GB, free: 137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004953/0.8564, allocations: 3.352 MB / 0.6302 GB, free: 137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.029e-05/0.8565, allocations: 38.75 kB / 0.6303 GB, free: 137 MB / 494.1 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.0151/0.8716, allocations: 8.457 MB / 0.6385 GB, free: 135.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.8717, allocations: 63.81 kB / 0.6386 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004408/0.8761, allocations: 2.648 MB / 0.6412 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.8791, allocations: 1.192 MB / 0.6423 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004762/0.8839, allocations: 1.409 MB / 0.6437 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/0.8884, allocations: 4.668 MB / 0.6483 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00493/0.8934, allocations: 397.1 kB / 0.6486 GB, free: 131.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008524/0.8943, allocations: 385.7 kB / 0.649 GB, free: 131.2 MB / 494.1 MB 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.004119/0.8984, allocations: 2.09 MB / 0.6511 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007886/0.8992, allocations: 347 kB / 0.6514 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/0.9055, allocations: 3.077 MB / 0.6544 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005421/0.9109, allocations: 2.579 MB / 0.6569 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/0.911, allocations: 3.406 kB / 0.6569 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/0.911, allocations: 9.031 kB / 0.6569 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.9306, allocations: 9.673 MB / 0.6664 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/0.9307, allocations: 4.312 kB / 0.6664 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.932, allocations: 279.3 kB / 0.6666 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002911/0.9349, allocations: 1.065 MB / 0.6677 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.9351, allocations: 43.55 kB / 0.6677 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/0.9402, allocations: 4.805 MB / 0.6724 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009316/0.9412, allocations: 1.454 MB / 0.6738 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008318/0.9495, allocations: 5.499 MB / 0.6792 GB, free: 117.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.9507, allocations: 400.3 kB / 0.6796 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.951, allocations: 38.23 kB / 0.6796 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.9524, allocations: 141.3 kB / 0.6798 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.9526, allocations: 113.2 kB / 0.6799 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.9528, allocations: 56.69 kB / 0.6799 GB, free: 117.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003505/0.9563, allocations: 2.417 MB / 0.6823 GB, free: 116.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9563, allocations: 0 / 0.6823 GB, free: 116.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005815/0.9621, allocations: 1.029 MB / 0.6833 GB, free: 116.4 MB / 494.1 MB 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.006962/0.9691, allocations: 6.029 MB / 0.6892 GB, free: 111.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007934/0.977, allocations: 5.492 MB / 0.6945 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.9771, allocations: 0 / 0.6945 GB, free: 106.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003245/0.9803, allocations: 2.117 MB / 0.6966 GB, free: 105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.9832, allocations: 458.4 kB / 0.697 GB, free: 104.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05356/1.037, allocations: 34.66 MB / 0.7309 GB, free: 66.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/1.04, allocations: 3.261 MB / 0.7341 GB, free: 62.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004214/1.044, allocations: 1.904 MB / 0.7359 GB, free: 61.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/1.046, allocations: 1.889 MB / 0.7378 GB, free: 59.16 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/1.046, allocations: 0 / 0.7378 GB, free: 59.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/1.155, allocations: 75.47 MB / 0.8115 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/1.155, allocations: 218.3 kB / 0.8117 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.599, allocations: 0 / 0.8117 GB, free: 15.41 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