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.001751/0.001751, allocations: 101.9 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002329/0.002329, allocations: 205.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.11 MB / 343.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 76.23 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1373, allocations: 62.44 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2941/0.4314, allocations: 42.16 MB / 0.5095 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02457/0.4561, allocations: 9.142 MB / 0.5184 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/0.4677, allocations: 190.8 kB / 0.5186 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.4737, allocations: 2.464 MB / 0.521 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006653/0.4804, allocations: 1.649 MB / 0.5226 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.4826, allocations: 0.6866 MB / 0.5233 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006681/0.4893, allocations: 4.234 MB / 0.5274 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.494, allocations: 3.534 MB / 0.5309 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.4965, allocations: 1.514 MB / 0.5324 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.499, allocations: 2.175 MB / 0.5345 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006477/0.4997, allocations: 312.3 kB / 0.5348 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.5022, allocations: 1.237 MB / 0.536 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.5037, allocations: 1.894 MB / 0.5379 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.5057, allocations: 2.168 MB / 0.54 GB, free: 112 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.5123, allocations: 6.602 MB / 0.5464 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5123, allocations: 0 / 0.5464 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5123, allocations: 0 / 0.5464 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000188/0.5125, allocations: 0 / 0.5464 GB, free: 11.41 MB / 398.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.009619/0.5222, allocations: 4.622 MB / 0.5509 GB, free: 6.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.5222, allocations: 8.031 kB / 0.5509 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001166/0.5234, allocations: 0.6909 MB / 0.5516 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007164/0.5306, allocations: 1.982 MB / 0.5536 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/0.5366, allocations: 2.756 MB / 0.5562 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.5369, allocations: 236.7 kB / 0.5565 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.5382, allocations: 402.8 kB / 0.5569 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.5556, allocations: 9.717 MB / 0.5663 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/0.5558, allocations: 43.59 kB / 0.5664 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.5571, allocations: 153.9 kB / 0.5665 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002792/0.5599, allocations: 1.752 MB / 0.5682 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.5763, allocations: 8.178 MB / 0.5762 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04819/0.6246, allocations: 38.42 MB / 0.6137 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009263/0.6339, allocations: 3.756 MB / 0.6174 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.6361, allocations: 1.565 MB / 0.6189 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.647, allocations: 7.79 MB / 0.6266 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.6471, allocations: 47.56 kB / 0.6266 GB, free: 7.305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 4.158e-06/0.6471, allocations: 0 / 0.6266 GB, free: 7.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.04023/0.6874, allocations: 14.25 MB / 0.6405 GB, free: 8.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001605/0.689, allocations: 1.684 MB / 0.6422 GB, free: 7.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006831/0.6959, allocations: 3.827 MB / 0.6459 GB, free: 3.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003581/0.6963, allocations: 52.53 kB / 0.6459 GB, free: 3.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/0.6986, allocations: 3.036 MB / 0.6489 GB, free: 128 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.6996, allocations: 0.6475 MB / 0.6495 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002086/0.7017, allocations: 1.197 MB / 0.6507 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.7018, allocations: 305.1 kB / 0.651 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/0.7049, allocations: 1.995 MB / 0.653 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005256/0.7102, allocations: 5.694 MB / 0.6585 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009428/0.7196, allocations: 8.295 MB / 0.6666 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.7198, allocations: 40 kB / 0.6667 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01547/0.7353, allocations: 8.271 MB / 0.6747 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.7354, allocations: 68 kB / 0.6748 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005552/0.741, allocations: 2.578 MB / 0.6773 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/0.7449, allocations: 1.17 MB / 0.6785 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/0.7495, allocations: 1.365 MB / 0.6798 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.7551, allocations: 4.942 MB / 0.6846 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/0.7598, allocations: 393.7 kB / 0.685 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/0.7609, allocations: 375.9 kB / 0.6853 GB, free: 6.781 MB / 0.5294 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.004696/0.7656, allocations: 2.005 MB / 0.6873 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/0.7664, allocations: 335.6 kB / 0.6876 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009797/0.7673, allocations: 445.3 kB / 0.688 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00503/0.7724, allocations: 2.519 MB / 0.6905 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.7724, allocations: 4 kB / 0.6905 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.7724, allocations: 7.969 kB / 0.6905 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/0.7904, allocations: 9.271 MB / 0.6996 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.7904, allocations: 4 kB / 0.6996 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.7917, allocations: 267.6 kB / 0.6998 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/0.7949, allocations: 1.068 MB / 0.7009 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.7951, allocations: 47.97 kB / 0.7009 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005317/0.8004, allocations: 5.122 MB / 0.7059 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1963/0.9967, allocations: 1.527 MB / 0.7074 GB, free: 191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008814/1.006, allocations: 5.373 MB / 0.7127 GB, free: 190.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/1.007, allocations: 383.4 kB / 0.713 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/1.007, allocations: 36.16 kB / 0.7131 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.008, allocations: 133.1 kB / 0.7132 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/1.009, allocations: 107.9 kB / 0.7133 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.009, allocations: 48.31 kB / 0.7133 GB, free: 190 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00387/1.013, allocations: 2.365 MB / 0.7156 GB, free: 189.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.013, allocations: 6.234 kB / 0.7157 GB, free: 189.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005168/1.018, allocations: 0.9778 MB / 0.7166 GB, free: 189.1 MB / 0.545 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.01016/1.028, allocations: 5.896 MB / 0.7224 GB, free: 186.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.038, allocations: 5.983 MB / 0.7282 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.039, allocations: 3.938 kB / 0.7282 GB, free: 184.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.042, allocations: 2.083 MB / 0.7302 GB, free: 183.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.045, allocations: 471.1 kB / 0.7307 GB, free: 183.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07137/1.116, allocations: 51.42 MB / 0.7809 GB, free: 134.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.121, allocations: 3.131 MB / 0.784 GB, free: 131.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004161/1.125, allocations: 1.854 MB / 0.7858 GB, free: 129.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/1.127, allocations: 1.784 MB / 0.7875 GB, free: 128 MB / 0.545 GB Notification: Performance of SimCode: time 1.272e-06/1.127, allocations: 0 / 0.7875 GB, free: 128 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.228, allocations: 69.35 MB / 0.8552 GB, free: 58.93 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.228, allocations: 229.7 kB / 0.8555 GB, free: 58.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/5.217, allocations: 0 / 0.8555 GB, free: 58.68 MB / 0.545 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