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.001183/0.001183, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1772/0.1772, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 82.23 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1126, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01199/0.1246, allocations: 10.95 MB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1349, allocations: 4.081 MB / 495.2 MB, free: 6.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.1367, allocations: 67.75 kB / 495.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.1414, allocations: 2.562 MB / 497.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.1461, allocations: 1.766 MB / 499.6 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.1479, allocations: 0.737 MB / 0.4886 GB, free: 0.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.1542, allocations: 4.215 MB / 0.4927 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004862/0.1591, allocations: 3.343 MB / 0.4959 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.162, allocations: 1.484 MB / 0.4974 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/0.165, allocations: 1.943 MB / 0.4993 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007028/0.1657, allocations: 320 kB / 0.4996 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.168, allocations: 1.213 MB / 0.5008 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.1699, allocations: 1.862 MB / 0.5026 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003576/0.1735, allocations: 2.14 MB / 0.5047 GB, free: 316 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2179/0.3914, allocations: 6.545 MB / 0.5111 GB, free: 18.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.3915, allocations: 4.172 kB / 0.5111 GB, free: 18.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.3915, allocations: 0 / 0.5111 GB, free: 18.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003456/0.3919, allocations: 0 / 0.5111 GB, free: 18.29 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: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.01359/0.4055, allocations: 4.629 MB / 0.5156 GB, free: 16.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4055, allocations: 11.75 kB / 0.5156 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001358/0.4069, allocations: 0.6917 MB / 0.5163 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008575/0.4155, allocations: 1.979 MB / 0.5182 GB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008235/0.4238, allocations: 2.747 MB / 0.5209 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/0.4242, allocations: 244.2 kB / 0.5211 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.4262, allocations: 399.6 kB / 0.5215 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01919/0.4454, allocations: 9.709 MB / 0.531 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.4456, allocations: 42.84 kB / 0.531 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/0.446, allocations: 156.9 kB / 0.5312 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.4483, allocations: 1.75 MB / 0.5329 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.4626, allocations: 8.188 MB / 0.5409 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04965/0.5123, allocations: 38.42 MB / 0.5784 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009639/0.5219, allocations: 3.745 MB / 0.5821 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.5242, allocations: 1.577 MB / 0.5836 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.5358, allocations: 7.785 MB / 0.5912 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.5359, allocations: 51.56 kB / 0.5913 GB, free: 2.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 4.939e-06/0.5359, allocations: 0 / 0.5913 GB, free: 2.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.03986/0.5758, allocations: 14.25 MB / 0.6052 GB, free: 3.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001403/0.5772, allocations: 1.679 MB / 0.6068 GB, free: 2.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006255/0.5835, allocations: 3.826 MB / 0.6106 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003081/0.5838, allocations: 48.05 kB / 0.6106 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.586, allocations: 3.04 MB / 0.6136 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000924/0.5869, allocations: 0.6477 MB / 0.6142 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002348/0.5893, allocations: 1.202 MB / 0.6154 GB, free: 9.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.5894, allocations: 305.1 kB / 0.6157 GB, free: 9.051 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.5925, allocations: 1.991 MB / 0.6176 GB, free: 7.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/0.5987, allocations: 5.689 MB / 0.6232 GB, free: 15.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/0.6109, allocations: 8.305 MB / 0.6313 GB, free: 5.977 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000163/0.6112, allocations: 44 kB / 0.6313 GB, free: 5.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01705/0.6282, allocations: 8.269 MB / 0.6394 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.6284, allocations: 60 kB / 0.6394 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005414/0.6338, allocations: 2.572 MB / 0.642 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003763/0.6376, allocations: 1.182 MB / 0.6431 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.6422, allocations: 1.353 MB / 0.6444 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.6479, allocations: 4.957 MB / 0.6493 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/0.6526, allocations: 387.3 kB / 0.6496 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.6537, allocations: 375.1 kB / 0.65 GB, free: 2.684 MB / 494.1 MB 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.004617/0.6584, allocations: 2.013 MB / 0.652 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008795/0.6592, allocations: 327.7 kB / 0.6523 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.6609, allocations: 466 kB / 0.6527 GB, free: 0 / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005407/0.6663, allocations: 2.519 MB / 0.6552 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.6664, allocations: 6.625 kB / 0.6552 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/0.6664, allocations: 11.97 kB / 0.6552 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/0.6866, allocations: 9.288 MB / 0.6643 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.6866, allocations: 4 kB / 0.6643 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.6878, allocations: 259.6 kB / 0.6645 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003257/0.6911, allocations: 1.065 MB / 0.6656 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/0.6913, allocations: 51.95 kB / 0.6656 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005556/0.6969, allocations: 5.118 MB / 0.6706 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001066/0.6979, allocations: 1.538 MB / 0.6721 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009729/0.7077, allocations: 5.363 MB / 0.6774 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.7088, allocations: 384.6 kB / 0.6777 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008079/0.7096, allocations: 35.98 kB / 0.6778 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.7115, allocations: 130.9 kB / 0.6779 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/0.7119, allocations: 112.7 kB / 0.678 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.712, allocations: 55.92 kB / 0.678 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004932/0.717, allocations: 2.366 MB / 0.6804 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.02e-07/0.717, allocations: 0 / 0.6804 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006619/0.7236, allocations: 0.9727 MB / 0.6813 GB, free: 2.059 MB / 0.5137 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.009735/0.7334, allocations: 5.902 MB / 0.6871 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01125/0.7446, allocations: 5.976 MB / 0.6929 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.7447, allocations: 0 / 0.6929 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004119/0.7488, allocations: 2.088 MB / 0.6949 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/0.7527, allocations: 470.4 kB / 0.6954 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2765/1.029, allocations: 49.65 MB / 0.7439 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/1.032, allocations: 3.138 MB / 0.7469 GB, free: 176.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003791/1.036, allocations: 1.849 MB / 0.7487 GB, free: 176.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/1.037, allocations: 1.782 MB / 0.7505 GB, free: 174.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.037, allocations: 3.844 kB / 0.7505 GB, free: 174.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09173/1.129, allocations: 69.35 MB / 0.8182 GB, free: 106.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.22, allocations: 2.031 kB / 0.8182 GB, free: 106.6 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