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.0008152/0.000815, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001078/0.001078, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 46.18 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002467, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 63.56 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02266/0.1353, allocations: 24.65 MB / 0.4959 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.1504, allocations: 6.177 MB / 0.502 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006182/0.1567, allocations: 103.8 kB / 0.5021 GB, free: 4.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.1581, allocations: 418.2 kB / 0.5025 GB, free: 4.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.1624, allocations: 1.631 MB / 0.504 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1637, allocations: 463.2 kB / 0.5045 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2712/0.4349, allocations: 5.51 MB / 0.5099 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/0.4385, allocations: 2.264 MB / 0.5121 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.4402, allocations: 0.9383 MB / 0.513 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.4426, allocations: 1.677 MB / 0.5146 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.4429, allocations: 123.1 kB / 0.5148 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.4451, allocations: 1.05 MB / 0.5158 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.447, allocations: 1.515 MB / 0.5173 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.4488, allocations: 1.764 MB / 0.519 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006772/0.4556, allocations: 5.653 MB / 0.5245 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4556, allocations: 1.812 kB / 0.5245 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4556, allocations: 1.281 kB / 0.5245 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001464/0.4558, allocations: 3.094 kB / 0.5245 GB, free: 9.09 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: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.006924/0.4627, allocations: 3.399 MB / 0.5278 GB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4628, allocations: 9.938 kB / 0.5278 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.4638, allocations: 0.6881 MB / 0.5285 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.4751, allocations: 3.284 MB / 0.5317 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005052/0.4802, allocations: 2.453 MB / 0.5341 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.4804, allocations: 184.6 kB / 0.5343 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009704/0.4814, allocations: 332.5 kB / 0.5346 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.4948, allocations: 10.31 MB / 0.5447 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.896e-05/0.4949, allocations: 29.22 kB / 0.5447 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.4953, allocations: 112.2 kB / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003767/0.4991, allocations: 2.435 MB / 0.5472 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.5174, allocations: 9.854 MB / 0.5568 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05101/0.5685, allocations: 34.57 MB / 0.5906 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00802/0.5765, allocations: 4.316 MB / 0.5948 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.5798, allocations: 2.154 MB / 0.5969 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.5811, allocations: 1.326 MB / 0.5982 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.5812, allocations: 56.56 kB / 0.5982 GB, free: 6.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 5.861e-06/0.5812, allocations: 0 / 0.5982 GB, free: 6.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.03941/0.6206, allocations: 16.73 MB / 0.6146 GB, free: 5.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001203/0.6218, allocations: 1.534 MB / 0.6161 GB, free: 3.633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/0.6265, allocations: 2.684 MB / 0.6187 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.6267, allocations: 57.7 kB / 0.6187 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00177/0.6285, allocations: 2.614 MB / 0.6213 GB, free: 14.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/0.6295, allocations: 0.9182 MB / 0.6222 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009369/0.6304, allocations: 486.3 kB / 0.6227 GB, free: 12.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6306, allocations: 305.1 kB / 0.6229 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/0.6344, allocations: 2.388 MB / 0.6253 GB, free: 10.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005495/0.6399, allocations: 5.323 MB / 0.6305 GB, free: 3.457 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00993/0.6499, allocations: 8.382 MB / 0.6387 GB, free: 10.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/0.65, allocations: 28 kB / 0.6387 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=726) (initialization): time 0.021/0.671, allocations: 9.338 MB / 0.6478 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.6712, allocations: 48 kB / 0.6479 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01265/0.6838, allocations: 4.567 MB / 0.6523 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.6945, allocations: 2.102 MB / 0.6544 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/0.6987, allocations: 1.24 MB / 0.6556 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.7056, allocations: 4.963 MB / 0.6604 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004125/0.7097, allocations: 387.6 kB / 0.6608 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009344/0.7107, allocations: 316 kB / 0.6611 GB, free: 2.777 MB / 0.4981 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.004976/0.7156, allocations: 2.023 MB / 0.6631 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007871/0.7164, allocations: 272.4 kB / 0.6633 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.7276, allocations: 5.331 MB / 0.6685 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009034/0.7367, allocations: 4.604 MB / 0.673 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.7367, allocations: 4 kB / 0.673 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.7367, allocations: 11.91 kB / 0.673 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02722/0.764, allocations: 14.32 MB / 0.687 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.764, allocations: 12 kB / 0.687 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.7658, allocations: 407.5 kB / 0.6874 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004591/0.7704, allocations: 1.24 MB / 0.6886 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003576/0.7708, allocations: 59.97 kB / 0.6887 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004808/0.7756, allocations: 4.448 MB / 0.693 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001011/0.7766, allocations: 1.474 MB / 0.6945 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.791, allocations: 7.992 MB / 0.7023 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/0.792, allocations: 333.5 kB / 0.7026 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007682/0.7927, allocations: 51.27 kB / 0.7026 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.7947, allocations: 195.7 kB / 0.7028 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/0.7952, allocations: 176.8 kB / 0.703 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002456/0.7955, allocations: 75.92 kB / 0.7031 GB, free: 6.898 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003316/0.7988, allocations: 1.652 MB / 0.7047 GB, free: 5.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7988, allocations: 4 kB / 0.7047 GB, free: 5.234 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005027/0.8038, allocations: 1.006 MB / 0.7057 GB, free: 4.23 MB / 0.545 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.2708/1.075, allocations: 8.544 MB / 0.714 GB, free: 191.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.086, allocations: 6.333 MB / 0.7202 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.086, allocations: 1.125 kB / 0.7202 GB, free: 190.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/1.091, allocations: 2.839 MB / 0.723 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/1.097, allocations: 378.9 kB / 0.7233 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07866/1.175, allocations: 49.36 MB / 0.7715 GB, free: 150.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004598/1.18, allocations: 3.195 MB / 0.7747 GB, free: 147.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004612/1.185, allocations: 2.048 MB / 0.7767 GB, free: 145.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002497/1.187, allocations: 1.698 MB / 0.7783 GB, free: 143.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.923e-06/1.187, allocations: 1.641 kB / 0.7783 GB, free: 143.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/1.269, allocations: 61.32 MB / 0.8382 GB, free: 82.52 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.27, allocations: 239.6 kB / 0.8384 GB, free: 82.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/4.574, allocations: 0 / 0.8384 GB, free: 82.25 MB / 0.545 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