Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 202 kB / 18.73 MB, free: 4.32 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 / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 75.89 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.35, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01545/0.3655, allocations: 11.73 MB / 0.542 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.3743, allocations: 3.931 MB / 0.5458 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.3766, allocations: 61.22 kB / 0.5459 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.3795, allocations: 1.178 MB / 0.547 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.3846, allocations: 1.726 MB / 0.5487 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.3863, allocations: 499 kB / 0.5492 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006455/0.3928, allocations: 4.063 MB / 0.5531 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.3958, allocations: 1.786 MB / 0.5549 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.3982, allocations: 1.164 MB / 0.556 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002851/0.4011, allocations: 1.658 MB / 0.5576 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008748/0.402, allocations: 216 kB / 0.5579 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.4046, allocations: 1.073 MB / 0.5589 GB, free: 4.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.4068, allocations: 1.582 MB / 0.5604 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003767/0.4106, allocations: 1.84 MB / 0.5622 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009241/0.4199, allocations: 6.103 MB / 0.5682 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.4199, allocations: 0 / 0.5682 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.42, allocations: 7.938 kB / 0.5682 GB, free: 11.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002766/0.4202, allocations: 0 / 0.5682 GB, free: 11.03 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: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.01057/0.4308, allocations: 4.119 MB / 0.5722 GB, free: 6.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.4309, allocations: 8.031 kB / 0.5722 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.4326, allocations: 0.6915 MB / 0.5729 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.4444, allocations: 3.205 MB / 0.576 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005883/0.4503, allocations: 2.474 MB / 0.5785 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.4505, allocations: 184.6 kB / 0.5786 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.4518, allocations: 323.5 kB / 0.5789 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.4695, allocations: 10.3 MB / 0.589 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/0.4696, allocations: 31.72 kB / 0.589 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009084/0.4705, allocations: 111.8 kB / 0.5891 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004053/0.4746, allocations: 2.444 MB / 0.5915 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.4925, allocations: 9.843 MB / 0.6011 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05145/0.544, allocations: 34.38 MB / 0.6347 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007802/0.5519, allocations: 4.303 MB / 0.6389 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.5549, allocations: 2.162 MB / 0.641 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.5563, allocations: 1.311 MB / 0.6423 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.5563, allocations: 56.5 kB / 0.6424 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.761e-06/0.5564, allocations: 0 / 0.6424 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.0413/0.5977, allocations: 16.73 MB / 0.6587 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002077/0.5998, allocations: 1.619 MB / 0.6603 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004894/0.6047, allocations: 2.684 MB / 0.6629 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004163/0.6052, allocations: 61.62 kB / 0.663 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.6072, allocations: 2.62 MB / 0.6655 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/0.6084, allocations: 0.925 MB / 0.6664 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002199/0.6106, allocations: 1.084 MB / 0.6675 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6107, allocations: 301.1 kB / 0.6678 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.6145, allocations: 2.388 MB / 0.6701 GB, free: 400 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005847/0.6203, allocations: 5.315 MB / 0.6753 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.6306, allocations: 8.391 MB / 0.6835 GB, free: 15.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.833e-05/0.6307, allocations: 28 kB / 0.6835 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=726) (initialization): time 0.02249/0.6532, allocations: 9.333 MB / 0.6926 GB, free: 6.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6534, allocations: 48 kB / 0.6927 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01329/0.6667, allocations: 4.565 MB / 0.6971 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.6779, allocations: 2.09 MB / 0.6992 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.6822, allocations: 1.248 MB / 0.7004 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007954/0.6902, allocations: 5.304 MB / 0.7056 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/0.6945, allocations: 387.6 kB / 0.7059 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/0.6958, allocations: 316 kB / 0.7062 GB, free: 8.184 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 652 * Array equations: 8 * 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.004855/0.7007, allocations: 2.024 MB / 0.7082 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008538/0.7015, allocations: 272.4 kB / 0.7085 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.7137, allocations: 5.318 MB / 0.7137 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009995/0.7237, allocations: 4.597 MB / 0.7182 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.7238, allocations: 0 / 0.7182 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.065e-05/0.7238, allocations: 11.95 kB / 0.7182 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2839/1.008, allocations: 14.28 MB / 0.7321 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/1.008, allocations: 13.38 kB / 0.7321 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.01, allocations: 407.6 kB / 0.7325 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004705/1.014, allocations: 1.244 MB / 0.7337 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004409/1.015, allocations: 64.36 kB / 0.7338 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004691/1.02, allocations: 4.732 MB / 0.7384 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008573/1.02, allocations: 1.561 MB / 0.7399 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.033, allocations: 7.994 MB / 0.7477 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/1.034, allocations: 325 kB / 0.7481 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004713/1.035, allocations: 62.66 kB / 0.7481 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.036, allocations: 196.1 kB / 0.7483 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/1.037, allocations: 159.7 kB / 0.7485 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.037, allocations: 84 kB / 0.7485 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002816/1.04, allocations: 1.652 MB / 0.7501 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.04, allocations: 0 / 0.7501 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004969/1.045, allocations: 1.002 MB / 0.7511 GB, free: 168.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (192): * Single equations (assignments): 182 * Array equations: 6 * 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.01124/1.056, allocations: 8.549 MB / 0.7595 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009085/1.065, allocations: 6.4 MB / 0.7657 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.065, allocations: 0 / 0.7657 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004364/1.07, allocations: 2.86 MB / 0.7685 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/1.072, allocations: 381.1 kB / 0.7689 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07348/1.146, allocations: 44.32 MB / 0.8122 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005306/1.151, allocations: 3.191 MB / 0.8153 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00467/1.156, allocations: 2.048 MB / 0.8173 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/1.159, allocations: 1.694 MB / 0.8189 GB, free: 99.15 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/1.159, allocations: 1.312 kB / 0.8189 GB, free: 99.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0929/1.252, allocations: 61.51 MB / 0.879 GB, free: 37.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.36/21.61, allocations: 15.78 kB / 0.879 GB, free: 37.91 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches