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: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 113.7 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 202.7 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1956/0.1956, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2849, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01224/0.2972, allocations: 11.72 MB / 0.5431 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007538/0.3048, allocations: 3.931 MB / 0.5469 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.3066, allocations: 60.78 kB / 0.547 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.309, allocations: 1.178 MB / 0.5482 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.3131, allocations: 1.763 MB / 0.5499 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3142, allocations: 0.4911 MB / 0.5504 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004584/0.3188, allocations: 4.063 MB / 0.5543 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.321, allocations: 1.795 MB / 0.5561 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.3227, allocations: 1.16 MB / 0.5572 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.3246, allocations: 1.658 MB / 0.5588 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005537/0.3251, allocations: 216 kB / 0.559 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.327, allocations: 1.073 MB / 0.5601 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001386/0.3284, allocations: 1.589 MB / 0.5616 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.3302, allocations: 1.828 MB / 0.5634 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006459/0.3367, allocations: 6.093 MB / 0.5694 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3367, allocations: 0 / 0.5694 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3367, allocations: 0 / 0.5694 GB, free: 10.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.3369, allocations: 0 / 0.5694 GB, free: 10.94 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.0069/0.3438, allocations: 4.092 MB / 0.5734 GB, free: 6.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3438, allocations: 11.97 kB / 0.5734 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009913/0.3538, allocations: 3.181 MB / 0.5765 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.3575, allocations: 2.018 MB / 0.5785 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3577, allocations: 184.8 kB / 0.5786 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009091/0.3586, allocations: 331.6 kB / 0.5789 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.3729, allocations: 10.3 MB / 0.589 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.529e-05/0.3731, allocations: 27.8 kB / 0.589 GB, free: 6.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/0.3734, allocations: 115.8 kB / 0.5891 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00323/0.3767, allocations: 2.44 MB / 0.5915 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.3927, allocations: 9.855 MB / 0.6011 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04226/0.435, allocations: 34.4 MB / 0.6347 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006809/0.4419, allocations: 4.305 MB / 0.6389 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.4445, allocations: 2.154 MB / 0.641 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.4455, allocations: 1.322 MB / 0.6423 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.4456, allocations: 48.56 kB / 0.6424 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.721e-06/0.4456, allocations: 7.984 kB / 0.6424 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=252): time 0.03397/0.4795, allocations: 16.74 MB / 0.6587 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001234/0.4808, allocations: 1.619 MB / 0.6603 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.484, allocations: 2.664 MB / 0.6629 GB, free: 8.93 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003352/0.4843, allocations: 57.7 kB / 0.663 GB, free: 8.867 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.4859, allocations: 2.608 MB / 0.6655 GB, free: 6.219 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00091/0.4868, allocations: 0.925 MB / 0.6664 GB, free: 5.281 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.4881, allocations: 1.1 MB / 0.6675 GB, free: 4.168 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.4882, allocations: 309.2 kB / 0.6678 GB, free: 3.863 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/0.4912, allocations: 2.412 MB / 0.6701 GB, free: 1.445 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004697/0.496, allocations: 5.339 MB / 0.6754 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008415/0.5044, allocations: 8.422 MB / 0.6836 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.195e-05/0.5044, allocations: 31.94 kB / 0.6836 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=734) (initialization): time 0.0186/0.523, allocations: 9.692 MB / 0.6931 GB, free: 7.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.5231, allocations: 51.94 kB / 0.6931 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01202/0.5351, allocations: 4.889 MB / 0.6979 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.5457, allocations: 2.46 MB / 0.7003 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/0.5495, allocations: 1.256 MB / 0.7015 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007932/0.5574, allocations: 6.402 MB / 0.7078 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.5606, allocations: 391.5 kB / 0.7082 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004176/0.561, allocations: 316 kB / 0.7085 GB, free: 7.012 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 (672): * Single equations (assignments): 660 * 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.00259/0.5636, allocations: 2.03 MB / 0.7104 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.564, allocations: 272.5 kB / 0.7107 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008952/0.573, allocations: 5.314 MB / 0.7159 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007907/0.5809, allocations: 4.601 MB / 0.7204 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5809, allocations: 0 / 0.7204 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.5809, allocations: 15.95 kB / 0.7204 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2416/0.8225, allocations: 14.27 MB / 0.7343 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.8225, allocations: 10.25 kB / 0.7343 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.8241, allocations: 404.7 kB / 0.7347 GB, free: 176.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/0.828, allocations: 1.245 MB / 0.7359 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.8282, allocations: 68.77 kB / 0.736 GB, free: 176.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/0.8321, allocations: 4.736 MB / 0.7406 GB, free: 173.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006781/0.8328, allocations: 1.547 MB / 0.7421 GB, free: 172.2 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009932/0.8427, allocations: 8.002 MB / 0.75 GB, free: 169.3 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.8432, allocations: 326.3 kB / 0.7503 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.8435, allocations: 53.36 kB / 0.7503 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.8448, allocations: 197.1 kB / 0.7505 GB, free: 169.2 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.8451, allocations: 163.9 kB / 0.7507 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.8452, allocations: 80.22 kB / 0.7507 GB, free: 169.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.00169/0.8469, allocations: 1.649 MB / 0.7524 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8469, allocations: 0 / 0.7524 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.003206/0.8501, allocations: 1.019 MB / 0.7534 GB, free: 168.5 MB / 0.5763 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.0003681/0.8505, allocations: 209.8 kB / 0.7536 GB, free: 168.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.007365/0.8579, allocations: 6.473 MB / 0.7599 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8579, allocations: 0 / 0.7599 GB, free: 165.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003562/0.8615, allocations: 2.859 MB / 0.7627 GB, free: 162.4 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.8634, allocations: 386.4 kB / 0.763 GB, free: 162 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.8746, allocations: 10.65 MB / 0.7734 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.8768, allocations: 3.187 MB / 0.7766 GB, free: 148 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009338/0.8778, allocations: 259.4 kB / 0.7768 GB, free: 147.8 MB / 0.5763 GB Notification: Performance of SimCode: time 8.92e-07/0.8778, allocations: 0 / 0.7768 GB, free: 147.8 MB / 0.5763 GB Notification: Performance of Templates: time 0.09218/0.97, allocations: 128.2 MB / 0.902 GB, free: 19.58 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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