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.0009701/0.00097, allocations: 98.59 kB / 17 MB, free: 6.414 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.001195/0.001195, allocations: 188.3 kB / 17.89 MB, free: 5.945 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.443/1.443, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003475, allocations: 11.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.03935/0.1687, allocations: 41.7 MB / 0.5013 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.327/0.4958, allocations: 9.409 MB / 0.5105 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01154/0.5074, allocations: 205.3 kB / 0.5107 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009521/0.5169, allocations: 2.148 MB / 0.5128 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02199/0.539, allocations: 6.443 MB / 0.5191 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.5431, allocations: 0.6028 MB / 0.5197 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.5532, allocations: 4.716 MB / 0.5243 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007223/0.5604, allocations: 4.008 MB / 0.5282 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.5639, allocations: 1.221 MB / 0.5294 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/0.5677, allocations: 1.813 MB / 0.5312 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008884/0.5686, allocations: 131.6 kB / 0.5313 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.5717, allocations: 0.962 MB / 0.5322 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.5737, allocations: 1.678 MB / 0.5339 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.5749, allocations: 0.8176 MB / 0.5347 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.5809, allocations: 5.291 MB / 0.5398 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5809, allocations: 4 kB / 0.5398 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5809, allocations: 0 / 0.5398 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002609/0.5812, allocations: 3.406 kB / 0.5398 GB, free: 1.77 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.009523/0.5907, allocations: 3.927 MB / 0.5437 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.5908, allocations: 9.906 kB / 0.5437 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002448/0.5932, allocations: 0.7197 MB / 0.5444 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/0.6007, allocations: 1.99 MB / 0.5463 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006848/0.6076, allocations: 2.932 MB / 0.5492 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.6079, allocations: 241.5 kB / 0.5494 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.6096, allocations: 408 kB / 0.5498 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.6338, allocations: 9.859 MB / 0.5594 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000223/0.6341, allocations: 43.59 kB / 0.5595 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000924/0.6351, allocations: 150.9 kB / 0.5596 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004129/0.6392, allocations: 1.824 MB / 0.5614 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02392/0.6632, allocations: 8.279 MB / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06067/0.7239, allocations: 38.83 MB / 0.6074 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009504/0.7334, allocations: 3.72 MB / 0.611 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.736, allocations: 1.565 MB / 0.6126 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/0.7493, allocations: 7.709 MB / 0.6201 GB, free: 5.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.7494, allocations: 51.48 kB / 0.6202 GB, free: 5.172 MB / 462.1 MB Notification: Performance of pre-optimization done (n=144): time 4.789e-06/0.7495, allocations: 0 / 0.6202 GB, free: 5.172 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.0377/0.7872, allocations: 14.21 MB / 0.634 GB, free: 6.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001469/0.7887, allocations: 1.589 MB / 0.6356 GB, free: 5.039 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006073/0.7948, allocations: 3.841 MB / 0.6393 GB, free: 1.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004576/0.7953, allocations: 49.7 kB / 0.6394 GB, free: 1.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.7979, allocations: 3.088 MB / 0.6424 GB, free: 14.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.7989, allocations: 0.6555 MB / 0.643 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.7992, allocations: 119.9 kB / 0.6432 GB, free: 13.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003816/0.7996, allocations: 0.5542 MB / 0.6437 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/0.8028, allocations: 1.971 MB / 0.6456 GB, free: 10.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006309/0.8091, allocations: 5.7 MB / 0.6512 GB, free: 3.207 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/0.815, allocations: 3.273 MB / 0.6544 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/0.8152, allocations: 40 kB / 0.6544 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.0191/0.8343, allocations: 8.249 MB / 0.6625 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.8345, allocations: 66.14 kB / 0.6625 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005477/0.84, allocations: 2.559 MB / 0.665 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.8436, allocations: 1.19 MB / 0.6662 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/0.8482, allocations: 1.365 MB / 0.6675 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/0.8538, allocations: 4.663 MB / 0.6721 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005046/0.8589, allocations: 391.4 kB / 0.6725 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/0.8603, allocations: 371.1 kB / 0.6728 GB, free: 12.75 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.00483/0.8651, allocations: 2.049 MB / 0.6748 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009412/0.8661, allocations: 343.5 kB / 0.6751 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/0.8726, allocations: 2.954 MB / 0.678 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004895/0.8775, allocations: 2.496 MB / 0.6805 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.8775, allocations: 4 kB / 0.6805 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.174e-05/0.8776, allocations: 7.969 kB / 0.6805 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/0.8991, allocations: 9.363 MB / 0.6896 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/0.8991, allocations: 4 kB / 0.6896 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.9003, allocations: 256.1 kB / 0.6899 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002964/0.9033, allocations: 1.064 MB / 0.6909 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/0.9036, allocations: 51.92 kB / 0.691 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005429/0.909, allocations: 4.809 MB / 0.6956 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001088/0.9101, allocations: 1.454 MB / 0.6971 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2918/1.202, allocations: 5.318 MB / 0.7023 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008885/1.203, allocations: 389.6 kB / 0.7026 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/1.203, allocations: 40.06 kB / 0.7027 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.204, allocations: 136 kB / 0.7028 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/1.205, allocations: 104.3 kB / 0.7029 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/1.205, allocations: 48.59 kB / 0.7029 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003475/1.208, allocations: 2.369 MB / 0.7053 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.202e-06/1.208, allocations: 3.906 kB / 0.7053 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004216/1.212, allocations: 1.002 MB / 0.7062 GB, free: 143.3 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.007186/1.22, allocations: 5.86 MB / 0.712 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007434/1.227, allocations: 5.351 MB / 0.7172 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.227, allocations: 0 / 0.7172 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002873/1.23, allocations: 2.065 MB / 0.7192 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/1.232, allocations: 448.6 kB / 0.7196 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/1.272, allocations: 33.6 MB / 0.7524 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002432/1.275, allocations: 3.179 MB / 0.7556 GB, free: 120 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003632/1.278, allocations: 1.857 MB / 0.7574 GB, free: 118.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/1.28, allocations: 1.833 MB / 0.7592 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/1.28, allocations: 4 kB / 0.7592 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/1.422, allocations: 73.71 MB / 0.8311 GB, free: 44.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/1.423, allocations: 205.5 kB / 0.8313 GB, free: 44.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/5.473, allocations: 0 / 0.8313 GB, free: 44.38 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