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.001439/0.001439, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 76.08 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.324, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01216/0.3362, allocations: 10.96 MB / 0.5412 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008933/0.3452, allocations: 4.079 MB / 0.5452 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.3471, allocations: 70.41 kB / 0.5453 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005305/0.3524, allocations: 2.563 MB / 0.5478 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.357, allocations: 1.777 MB / 0.5495 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.3588, allocations: 0.7253 MB / 0.5502 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005987/0.3648, allocations: 4.218 MB / 0.5543 GB, free: 9.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0043/0.3692, allocations: 3.347 MB / 0.5576 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.3718, allocations: 1.48 MB / 0.559 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.3749, allocations: 1.955 MB / 0.5609 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.3759, allocations: 312 kB / 0.5612 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.3792, allocations: 1.229 MB / 0.5624 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002705/0.3819, allocations: 1.89 MB / 0.5643 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003772/0.3857, allocations: 2.136 MB / 0.5664 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009004/0.3948, allocations: 6.774 MB / 0.573 GB, free: 6.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3948, allocations: 0 / 0.573 GB, free: 6.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3948, allocations: 0 / 0.573 GB, free: 6.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000213/0.395, allocations: 0 / 0.573 GB, free: 6.113 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.0114/0.4064, allocations: 4.623 MB / 0.5775 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.4065, allocations: 12.02 kB / 0.5775 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/0.4084, allocations: 0.7024 MB / 0.5782 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007788/0.4163, allocations: 1.968 MB / 0.5801 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/0.4223, allocations: 2.803 MB / 0.5829 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.4225, allocations: 245.9 kB / 0.5831 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.4239, allocations: 399.4 kB / 0.5835 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4409, allocations: 9.71 MB / 0.593 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.441, allocations: 47.53 kB / 0.593 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000602/0.4417, allocations: 151.9 kB / 0.5931 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002588/0.4443, allocations: 1.751 MB / 0.5949 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.4595, allocations: 8.18 MB / 0.6028 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.5039, allocations: 38.27 MB / 0.6402 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00915/0.5131, allocations: 3.739 MB / 0.6439 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.5151, allocations: 1.572 MB / 0.6454 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/0.5267, allocations: 7.792 MB / 0.653 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.5268, allocations: 55.5 kB / 0.6531 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 3.977e-06/0.5268, allocations: 0 / 0.6531 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.03671/0.5635, allocations: 14.24 MB / 0.667 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001263/0.5648, allocations: 1.673 MB / 0.6686 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005461/0.5703, allocations: 3.831 MB / 0.6724 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.5705, allocations: 53.73 kB / 0.6724 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/0.5728, allocations: 3.035 MB / 0.6754 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007787/0.5736, allocations: 0.6404 MB / 0.676 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/0.5754, allocations: 1.202 MB / 0.6772 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.5755, allocations: 301.1 kB / 0.6775 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/0.5784, allocations: 1.995 MB / 0.6794 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.5841, allocations: 5.698 MB / 0.685 GB, free: 14.53 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00977/0.5939, allocations: 8.291 MB / 0.6931 GB, free: 4.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.5941, allocations: 40 kB / 0.6931 GB, free: 4.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01541/0.6095, allocations: 8.268 MB / 0.7012 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.971e-05/0.6096, allocations: 67.94 kB / 0.7012 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005235/0.6149, allocations: 2.578 MB / 0.7038 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/0.6186, allocations: 1.17 MB / 0.7049 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.6228, allocations: 1.361 MB / 0.7062 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005352/0.6282, allocations: 4.954 MB / 0.7111 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/0.6324, allocations: 391.3 kB / 0.7114 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007828/0.6332, allocations: 376 kB / 0.7118 GB, free: 0.875 MB / 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.003262/0.6364, allocations: 2.002 MB / 0.7138 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006606/0.6371, allocations: 331.7 kB / 0.7141 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/0.638, allocations: 449.3 kB / 0.7145 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005117/0.6432, allocations: 2.515 MB / 0.717 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.6432, allocations: 4 kB / 0.717 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/0.6432, allocations: 7.969 kB / 0.717 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.6623, allocations: 9.265 MB / 0.726 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.6624, allocations: 4 kB / 0.726 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.6637, allocations: 255.6 kB / 0.7263 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/0.6672, allocations: 1.061 MB / 0.7273 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.6674, allocations: 51.89 kB / 0.7273 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2392/0.9066, allocations: 5.103 MB / 0.7323 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008905/0.9076, allocations: 1.554 MB / 0.7338 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009471/0.9171, allocations: 5.364 MB / 0.7391 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.9186, allocations: 376.2 kB / 0.7394 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/0.9199, allocations: 45.59 kB / 0.7395 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/0.9223, allocations: 132.2 kB / 0.7396 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.9227, allocations: 109 kB / 0.7397 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.9229, allocations: 50.52 kB / 0.7398 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005584/0.9285, allocations: 2.366 MB / 0.7421 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9285, allocations: 0 / 0.7421 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005481/0.934, allocations: 0.975 MB / 0.743 GB, free: 169.2 MB / 0.5762 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.00741/0.9415, allocations: 5.897 MB / 0.7488 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007574/0.9491, allocations: 5.418 MB / 0.7541 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.9491, allocations: 0 / 0.7541 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.9526, allocations: 2.089 MB / 0.7561 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.9552, allocations: 462 kB / 0.7566 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05111/1.006, allocations: 44.39 MB / 0.7999 GB, free: 114.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/1.009, allocations: 3.131 MB / 0.803 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003465/1.012, allocations: 1.842 MB / 0.8048 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/1.014, allocations: 1.78 MB / 0.8065 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.585e-06/1.014, allocations: 3.938 kB / 0.8065 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09505/1.109, allocations: 66.75 MB / 0.8717 GB, free: 40.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.91/23.02, allocations: 3.938 kB / 0.8717 GB, free: 40.88 MB / 0.5762 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