Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003511/0.003512, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3483, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01292/0.3612, allocations: 10.95 MB / 0.5413 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008846/0.3701, allocations: 4.077 MB / 0.5453 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.3719, allocations: 66.34 kB / 0.5454 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004849/0.3768, allocations: 2.571 MB / 0.5479 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.3815, allocations: 1.768 MB / 0.5496 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.3833, allocations: 0.7291 MB / 0.5503 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006424/0.3897, allocations: 4.223 MB / 0.5544 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.3943, allocations: 3.335 MB / 0.5577 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.3969, allocations: 1.495 MB / 0.5591 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.3998, allocations: 1.947 MB / 0.561 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007431/0.4005, allocations: 312 kB / 0.5613 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.403, allocations: 1.221 MB / 0.5625 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.405, allocations: 1.862 MB / 0.5644 GB, free: 15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.4075, allocations: 2.132 MB / 0.5664 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008311/0.4158, allocations: 6.797 MB / 0.5731 GB, free: 6.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4158, allocations: 0 / 0.5731 GB, free: 6.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4158, allocations: 4 kB / 0.5731 GB, free: 6.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.416, allocations: 0 / 0.5731 GB, free: 6.031 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.008482/0.4245, allocations: 4.744 MB / 0.5777 GB, free: 1.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.4245, allocations: 12.02 kB / 0.5777 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009009/0.4254, allocations: 0.6946 MB / 0.5784 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/0.4328, allocations: 1.999 MB / 0.5804 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/0.4381, allocations: 2.816 MB / 0.5831 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.4384, allocations: 238 kB / 0.5833 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009534/0.4393, allocations: 403.6 kB / 0.5837 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.4579, allocations: 9.717 MB / 0.5932 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001467/0.4581, allocations: 47.52 kB / 0.5932 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.4588, allocations: 155.9 kB / 0.5934 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003128/0.4619, allocations: 1.747 MB / 0.5951 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.4797, allocations: 8.184 MB / 0.6031 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0508/0.5306, allocations: 38.33 MB / 0.6405 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5409, allocations: 3.749 MB / 0.6442 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.5433, allocations: 1.578 MB / 0.6457 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5551, allocations: 7.801 MB / 0.6534 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.5552, allocations: 43.56 kB / 0.6534 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 3.667e-06/0.5552, allocations: 4 kB / 0.6534 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.03893/0.5942, allocations: 14.47 MB / 0.6675 GB, free: 2.531 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001609/0.5958, allocations: 1.677 MB / 0.6692 GB, free: 0.6758 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/0.6019, allocations: 3.84 MB / 0.6729 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.6023, allocations: 45.7 kB / 0.673 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002728/0.605, allocations: 3.166 MB / 0.676 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009231/0.606, allocations: 0.6707 MB / 0.6767 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/0.6078, allocations: 1.214 MB / 0.6779 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6079, allocations: 301.1 kB / 0.6782 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/0.6111, allocations: 1.995 MB / 0.6801 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006586/0.6177, allocations: 5.694 MB / 0.6857 GB, free: 13.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.6287, allocations: 8.29 MB / 0.6938 GB, free: 3.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.232e-05/0.6288, allocations: 44 kB / 0.6938 GB, free: 3.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01698/0.6458, allocations: 8.287 MB / 0.7019 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.6459, allocations: 60 kB / 0.702 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005639/0.6516, allocations: 2.579 MB / 0.7045 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/0.6554, allocations: 1.174 MB / 0.7056 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004287/0.6597, allocations: 1.361 MB / 0.707 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.6657, allocations: 4.95 MB / 0.7118 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004169/0.6699, allocations: 395.4 kB / 0.7122 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006402/0.6706, allocations: 367.9 kB / 0.7125 GB, free: 204 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.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 (734): * Single equations (assignments): 725 * 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.003479/0.6741, allocations: 2.016 MB / 0.7145 GB, free: 14.17 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/0.6747, allocations: 349.7 kB / 0.7148 GB, free: 13.83 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009312/0.6756, allocations: 441.3 kB / 0.7153 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005557/0.6812, allocations: 2.523 MB / 0.7177 GB, free: 10.85 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.6812, allocations: 4 kB / 0.7177 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.6813, allocations: 7.969 kB / 0.7177 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.6985, allocations: 9.265 MB / 0.7268 GB, free: 1.391 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.6986, allocations: 4 kB / 0.7268 GB, free: 1.387 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.7, allocations: 264.1 kB / 0.727 GB, free: 1.129 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003648/0.7036, allocations: 1.06 MB / 0.7281 GB, free: 56 kB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/0.7039, allocations: 47.91 kB / 0.7281 GB, free: 8 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2469/0.9508, allocations: 5.112 MB / 0.7331 GB, free: 173.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007716/0.9516, allocations: 1.547 MB / 0.7346 GB, free: 172 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007887/0.9595, allocations: 5.388 MB / 0.7399 GB, free: 170 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/0.9603, allocations: 407.1 kB / 0.7403 GB, free: 169.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.9607, allocations: 33.52 kB / 0.7403 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.962, allocations: 130.5 kB / 0.7404 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.9623, allocations: 105.7 kB / 0.7405 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.9624, allocations: 54.91 kB / 0.7406 GB, free: 169.8 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003159/0.9656, allocations: 2.363 MB / 0.7429 GB, free: 169 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9656, allocations: 1.469 kB / 0.7429 GB, free: 169 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.004317/0.9699, allocations: 0.9781 MB / 0.7438 GB, free: 168.9 MB / 0.5763 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.007198/0.9771, allocations: 5.918 MB / 0.7496 GB, free: 166.4 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007543/0.9847, allocations: 5.414 MB / 0.7549 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.9847, allocations: 0 / 0.7549 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/0.988, allocations: 2.086 MB / 0.7569 GB, free: 163.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.9906, allocations: 467.3 kB / 0.7574 GB, free: 163.3 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04749/1.038, allocations: 44.57 MB / 0.8009 GB, free: 113.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/1.041, allocations: 3.134 MB / 0.804 GB, free: 110.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003281/1.044, allocations: 1.846 MB / 0.8058 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.046, allocations: 1.784 MB / 0.8075 GB, free: 106.5 MB / 0.5763 GB Notification: Performance of SimCode: time 9.82e-07/1.046, allocations: 0 / 0.8075 GB, free: 106.5 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.148, allocations: 65.8 MB / 0.8718 GB, free: 41.02 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.51/23.66, allocations: 4.062 kB / 0.8718 GB, free: 41.01 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches