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.001273/0.001273, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.3 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.2197/0.2197, allocations: 46.11 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 76.95 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1343, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2923/0.4267, allocations: 42.15 MB / 0.5093 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.4457, allocations: 9.249 MB / 0.5183 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009518/0.4553, allocations: 183 kB / 0.5185 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005225/0.4605, allocations: 2.549 MB / 0.521 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005539/0.4661, allocations: 1.661 MB / 0.5226 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.4682, allocations: 0.6765 MB / 0.5233 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008465/0.4767, allocations: 5.926 MB / 0.5291 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004793/0.4815, allocations: 3.329 MB / 0.5323 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.4843, allocations: 1.32 MB / 0.5336 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.4873, allocations: 2.094 MB / 0.5357 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006133/0.488, allocations: 225.6 kB / 0.5359 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.4904, allocations: 1.192 MB / 0.537 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.492, allocations: 1.812 MB / 0.5388 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.494, allocations: 2.057 MB / 0.5408 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.5004, allocations: 6.489 MB / 0.5472 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5005, allocations: 0 / 0.5472 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5005, allocations: 0 / 0.5472 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001909/0.5007, allocations: 0 / 0.5472 GB, free: 10.44 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.008119/0.5088, allocations: 4.627 MB / 0.5517 GB, free: 5.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5089, allocations: 8.875 kB / 0.5517 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009691/0.5098, allocations: 0.6912 MB / 0.5524 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/0.5168, allocations: 1.975 MB / 0.5543 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005421/0.5222, allocations: 2.759 MB / 0.557 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.5224, allocations: 242.5 kB / 0.5572 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009404/0.5234, allocations: 403 kB / 0.5576 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.5402, allocations: 9.706 MB / 0.5671 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/0.5404, allocations: 47.58 kB / 0.5671 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004109/0.5408, allocations: 154.5 kB / 0.5673 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/0.5433, allocations: 1.753 MB / 0.569 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.5598, allocations: 8.179 MB / 0.577 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.6065, allocations: 38.42 MB / 0.6145 GB, free: 4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009003/0.6155, allocations: 3.765 MB / 0.6182 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.6176, allocations: 1.565 MB / 0.6197 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009938/0.6275, allocations: 7.795 MB / 0.6273 GB, free: 6.375 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.6276, allocations: 43.56 kB / 0.6273 GB, free: 6.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 3.467e-06/0.6276, allocations: 0 / 0.6273 GB, free: 6.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.0355/0.6631, allocations: 14.24 MB / 0.6413 GB, free: 7.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001597/0.6647, allocations: 1.601 MB / 0.6428 GB, free: 6.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005894/0.6707, allocations: 3.827 MB / 0.6466 GB, free: 2.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000312/0.671, allocations: 49.7 kB / 0.6466 GB, free: 2.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.6729, allocations: 3.044 MB / 0.6496 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007653/0.6737, allocations: 0.6415 MB / 0.6502 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/0.6751, allocations: 1.205 MB / 0.6514 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.6752, allocations: 301.2 kB / 0.6517 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.678, allocations: 1.991 MB / 0.6536 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004848/0.6829, allocations: 5.69 MB / 0.6592 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/0.6913, allocations: 8.291 MB / 0.6673 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-05/0.6914, allocations: 40 kB / 0.6673 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01343/0.7048, allocations: 8.281 MB / 0.6754 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.7049, allocations: 64 kB / 0.6755 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004788/0.7097, allocations: 2.581 MB / 0.678 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003373/0.7131, allocations: 1.17 MB / 0.6791 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/0.7168, allocations: 1.357 MB / 0.6804 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004841/0.7216, allocations: 4.663 MB / 0.685 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/0.7257, allocations: 391.4 kB / 0.6854 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/0.7262, allocations: 370.2 kB / 0.6857 GB, free: 6.203 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.002709/0.7289, allocations: 2.005 MB / 0.6877 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.7294, allocations: 335.7 kB / 0.688 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006136/0.7301, allocations: 441.3 kB / 0.6884 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004702/0.7348, allocations: 2.522 MB / 0.6909 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.7348, allocations: 4 kB / 0.6909 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.7348, allocations: 3.984 kB / 0.6909 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.7491, allocations: 9.272 MB / 0.6999 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.7491, allocations: 7.938 kB / 0.7 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.7502, allocations: 263.6 kB / 0.7002 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/0.7533, allocations: 1.072 MB / 0.7012 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.7534, allocations: 42.23 kB / 0.7013 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/0.7584, allocations: 4.788 MB / 0.706 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1847/0.9432, allocations: 1.46 MB / 0.7074 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008167/0.9514, allocations: 5.36 MB / 0.7126 GB, free: 190.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/0.9522, allocations: 382 kB / 0.713 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.9525, allocations: 32.09 kB / 0.713 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.9538, allocations: 145.2 kB / 0.7132 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.9541, allocations: 104.9 kB / 0.7133 GB, free: 190.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.9542, allocations: 52.94 kB / 0.7133 GB, free: 190.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003296/0.9575, allocations: 2.364 MB / 0.7156 GB, free: 189.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9575, allocations: 3.656 kB / 0.7156 GB, free: 189.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004207/0.9617, allocations: 0.9784 MB / 0.7166 GB, free: 189.7 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.007947/0.9697, allocations: 5.907 MB / 0.7223 GB, free: 187.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007882/0.9776, allocations: 5.377 MB / 0.7276 GB, free: 185.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9776, allocations: 3.906 kB / 0.7276 GB, free: 185.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/0.9807, allocations: 2.076 MB / 0.7296 GB, free: 184.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.983, allocations: 441.8 kB / 0.73 GB, free: 184.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04854/1.032, allocations: 51.42 MB / 0.7803 GB, free: 135.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.034, allocations: 3.138 MB / 0.7833 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003386/1.037, allocations: 1.846 MB / 0.7851 GB, free: 130.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/1.039, allocations: 1.784 MB / 0.7869 GB, free: 128.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.039, allocations: 0 / 0.7869 GB, free: 128.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/2.121, allocations: 67.94 MB / 0.8532 GB, free: 60.86 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/2.121, allocations: 222.8 kB / 0.8534 GB, free: 60.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.225/6.346, allocations: 0 / 0.8534 GB, free: 60.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