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.001389/0.001389, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001318/0.001318, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.45/1.45, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2188/0.2188, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 56.25 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01534/0.1511, allocations: 11.09 MB / 480.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008542/0.1597, allocations: 4.081 MB / 484.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.1615, allocations: 67.75 kB / 484.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004749/0.1663, allocations: 2.581 MB / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.1715, allocations: 1.809 MB / 489 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.1738, allocations: 0.7409 MB / 489.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007384/0.1812, allocations: 4.172 MB / 493.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007152/0.1884, allocations: 3.355 MB / 497.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.1915, allocations: 1.522 MB / 498.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.1951, allocations: 1.966 MB / 0.489 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.1965, allocations: 320 kB / 0.4893 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003499/0.2, allocations: 1.244 MB / 0.4905 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003193/0.2032, allocations: 1.909 MB / 0.4924 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005399/0.2086, allocations: 2.19 MB / 0.4945 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009635/0.2183, allocations: 6.694 MB / 0.5011 GB, free: 2.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.2183, allocations: 3.984 kB / 0.5011 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2183, allocations: 0 / 0.5011 GB, free: 2.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002221/0.2186, allocations: 4 kB / 0.5011 GB, free: 2.332 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.3007/0.5193, allocations: 4.706 MB / 0.5057 GB, free: 40.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5194, allocations: 9 kB / 0.5057 GB, free: 40.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001866/0.5213, allocations: 0.7049 MB / 0.5064 GB, free: 40.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008652/0.5299, allocations: 1.947 MB / 0.5083 GB, free: 39.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.5383, allocations: 2.985 MB / 0.5112 GB, free: 39.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.5387, allocations: 236.4 kB / 0.5114 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002207/0.5409, allocations: 411.9 kB / 0.5118 GB, free: 39.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.5653, allocations: 9.869 MB / 0.5214 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/0.5657, allocations: 52.8 kB / 0.5215 GB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/0.5672, allocations: 151.2 kB / 0.5216 GB, free: 34.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003037/0.5703, allocations: 1.814 MB / 0.5234 GB, free: 33.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.5882, allocations: 8.311 MB / 0.5315 GB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05163/0.6398, allocations: 38.85 MB / 0.5695 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6502, allocations: 3.728 MB / 0.5731 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/0.6529, allocations: 1.577 MB / 0.5746 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0147/0.6677, allocations: 7.706 MB / 0.5822 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/0.6678, allocations: 51.5 kB / 0.5822 GB, free: 6.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=144): time 7.494e-06/0.6678, allocations: 0 / 0.5822 GB, free: 6.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.04364/0.7114, allocations: 14.23 MB / 0.5961 GB, free: 7.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001925/0.7134, allocations: 1.683 MB / 0.5978 GB, free: 5.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008389/0.7219, allocations: 3.868 MB / 0.6015 GB, free: 1.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005134/0.7224, allocations: 49.64 kB / 0.6016 GB, free: 1.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002576/0.725, allocations: 3.086 MB / 0.6046 GB, free: 14.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.7261, allocations: 0.6481 MB / 0.6052 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002682/0.7287, allocations: 1.208 MB / 0.6064 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7289, allocations: 309.1 kB / 0.6067 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/0.7322, allocations: 1.991 MB / 0.6086 GB, free: 10.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006828/0.739, allocations: 5.726 MB / 0.6142 GB, free: 3.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.7503, allocations: 8.349 MB / 0.6224 GB, free: 8.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002246/0.7506, allocations: 36 kB / 0.6224 GB, free: 8.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02065/0.7713, allocations: 8.307 MB / 0.6305 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.7715, allocations: 60 kB / 0.6306 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005858/0.7774, allocations: 2.564 MB / 0.6331 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/0.7812, allocations: 1.174 MB / 0.6342 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.7859, allocations: 1.365 MB / 0.6356 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0061/0.792, allocations: 4.953 MB / 0.6404 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/0.7978, allocations: 390 kB / 0.6408 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/0.7992, allocations: 376 kB / 0.6411 GB, free: 5.395 MB / 478.1 MB 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005478/0.8047, allocations: 2.037 MB / 0.6431 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/0.8057, allocations: 332.8 kB / 0.6435 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006473/0.8122, allocations: 2.961 MB / 0.6463 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004887/0.8171, allocations: 2.5 MB / 0.6488 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/0.8171, allocations: 4 kB / 0.6488 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.767e-05/0.8172, allocations: 7.922 kB / 0.6488 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/0.8406, allocations: 9.381 MB / 0.658 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/0.8406, allocations: 4 kB / 0.658 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.842, allocations: 259.6 kB / 0.6582 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003616/0.8457, allocations: 1.065 MB / 0.6592 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/0.846, allocations: 47.95 kB / 0.6593 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00681/0.8529, allocations: 5.121 MB / 0.6643 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001148/0.854, allocations: 1.541 MB / 0.6658 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009079/0.8631, allocations: 5.338 MB / 0.671 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.8642, allocations: 392.5 kB / 0.6714 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008198/0.8651, allocations: 38.64 kB / 0.6714 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.867, allocations: 127.8 kB / 0.6715 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.8673, allocations: 112.7 kB / 0.6717 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.8674, allocations: 47.98 kB / 0.6717 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00452/0.872, allocations: 2.387 MB / 0.674 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.9e-07/0.872, allocations: 0 / 0.674 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007848/0.8798, allocations: 1.004 MB / 0.675 GB, free: 1.996 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01063/0.8905, allocations: 5.876 MB / 0.6807 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.9013, allocations: 5.978 MB / 0.6866 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.9014, allocations: 0 / 0.6866 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.9057, allocations: 2.083 MB / 0.6886 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/0.9094, allocations: 473 kB / 0.6891 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3197/1.229, allocations: 50.09 MB / 0.738 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/1.232, allocations: 3.188 MB / 0.7411 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003849/1.236, allocations: 1.864 MB / 0.7429 GB, free: 164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/1.238, allocations: 1.829 MB / 0.7447 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/1.238, allocations: 0 / 0.7447 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.346, allocations: 70.03 MB / 0.8131 GB, free: 94.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.95, allocations: 3.234 kB / 0.8131 GB, free: 94.48 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/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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches