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.0007723/0.0007723, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008821/0.0008822, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2977/0.2977, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.02589/0.1782, allocations: 24.65 MB / 0.4958 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.194, allocations: 6.162 MB / 0.5019 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005403/0.1995, allocations: 99.75 kB / 0.502 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.2012, allocations: 430.2 kB / 0.5024 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.2062, allocations: 1.632 MB / 0.504 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2077, allocations: 463.2 kB / 0.5044 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3073/0.5151, allocations: 5.505 MB / 0.5098 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/0.5194, allocations: 2.273 MB / 0.512 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.5215, allocations: 0.9338 MB / 0.5129 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.5247, allocations: 1.681 MB / 0.5145 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006981/0.5254, allocations: 122.8 kB / 0.5147 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.5282, allocations: 1.043 MB / 0.5157 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.5305, allocations: 1.509 MB / 0.5172 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.5325, allocations: 1.759 MB / 0.5189 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007678/0.5402, allocations: 5.652 MB / 0.5244 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5402, allocations: 0 / 0.5244 GB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5402, allocations: 1.125 kB / 0.5244 GB, free: 9.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.5404, allocations: 0 / 0.5244 GB, free: 9.617 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.008568/0.549, allocations: 3.379 MB / 0.5277 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.549, allocations: 8.844 kB / 0.5277 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.5603, allocations: 3.27 MB / 0.5309 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004375/0.5647, allocations: 1.998 MB / 0.5328 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.5649, allocations: 180.7 kB / 0.533 GB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.5659, allocations: 333.1 kB / 0.5333 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.5823, allocations: 10.3 MB / 0.5434 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.5824, allocations: 31.81 kB / 0.5434 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.5828, allocations: 116.4 kB / 0.5435 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003969/0.5868, allocations: 2.434 MB / 0.5459 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.6095, allocations: 9.851 MB / 0.5555 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06066/0.6702, allocations: 34.6 MB / 0.5893 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008791/0.679, allocations: 4.315 MB / 0.5935 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.6824, allocations: 2.158 MB / 0.5956 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.6837, allocations: 1.318 MB / 0.5969 GB, free: 7.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.6838, allocations: 55.38 kB / 0.597 GB, free: 7.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=236): time 6.362e-06/0.6838, allocations: 0 / 0.597 GB, free: 7.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.04232/0.7262, allocations: 16.73 MB / 0.6133 GB, free: 6.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001423/0.7276, allocations: 1.528 MB / 0.6148 GB, free: 5.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005128/0.7328, allocations: 2.668 MB / 0.6174 GB, free: 2.336 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000575/0.7334, allocations: 57.86 kB / 0.6175 GB, free: 2.273 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002169/0.7356, allocations: 2.608 MB / 0.62 GB, free: 15.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00159/0.7372, allocations: 0.9276 MB / 0.6209 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.7384, allocations: 486.4 kB / 0.6214 GB, free: 14.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7386, allocations: 309 kB / 0.6217 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/0.7429, allocations: 2.412 MB / 0.624 GB, free: 11.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/0.7492, allocations: 5.343 MB / 0.6293 GB, free: 4.812 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/0.7604, allocations: 8.428 MB / 0.6375 GB, free: 11.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/0.7606, allocations: 32 kB / 0.6375 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.02679/0.7874, allocations: 9.693 MB / 0.647 GB, free: 1.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.7876, allocations: 48 kB / 0.647 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01625/0.8039, allocations: 4.89 MB / 0.6518 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.8163, allocations: 2.46 MB / 0.6542 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004944/0.8213, allocations: 1.255 MB / 0.6554 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008816/0.8301, allocations: 5.863 MB / 0.6612 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/0.8352, allocations: 391.6 kB / 0.6615 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/0.8366, allocations: 323.5 kB / 0.6618 GB, free: 2.129 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 (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.006004/0.8427, allocations: 2.028 MB / 0.6638 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009302/0.8436, allocations: 264.6 kB / 0.6641 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.8562, allocations: 5.327 MB / 0.6693 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01054/0.8668, allocations: 4.605 MB / 0.6738 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-05/0.8669, allocations: 4 kB / 0.6738 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-05/0.8669, allocations: 11.95 kB / 0.6738 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/0.8996, allocations: 14.32 MB / 0.6878 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.531e-05/0.8997, allocations: 11.94 kB / 0.6878 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/0.9017, allocations: 407.5 kB / 0.6882 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004745/0.9064, allocations: 1.244 MB / 0.6894 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005335/0.907, allocations: 67.95 kB / 0.6895 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005144/0.9121, allocations: 4.433 MB / 0.6938 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001155/0.9133, allocations: 1.475 MB / 0.6952 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/0.9303, allocations: 7.999 MB / 0.703 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.9313, allocations: 325.6 kB / 0.7033 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009681/0.9323, allocations: 51.98 kB / 0.7034 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/0.9345, allocations: 203 kB / 0.7036 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006737/0.9352, allocations: 160.9 kB / 0.7037 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/0.9356, allocations: 75.97 kB / 0.7038 GB, free: 6.262 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004502/0.9401, allocations: 1.644 MB / 0.7054 GB, free: 4.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9402, allocations: 0 / 0.7054 GB, free: 4.609 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007822/0.948, allocations: 1.026 MB / 0.7064 GB, free: 3.586 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.001216/0.9492, allocations: 207.2 kB / 0.7066 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.3191/1.268, allocations: 6.41 MB / 0.7129 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.268, allocations: 4.969 kB / 0.7129 GB, free: 169.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/1.274, allocations: 2.835 MB / 0.7157 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005478/1.279, allocations: 376.5 kB / 0.716 GB, free: 169.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/1.301, allocations: 12.48 MB / 0.7282 GB, free: 164.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007413/1.309, allocations: 3.185 MB / 0.7313 GB, free: 163.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005548/1.314, allocations: 2.063 MB / 0.7333 GB, free: 163.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/1.315, allocations: 219.4 kB / 0.7335 GB, free: 163.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/1.315, allocations: 0 / 0.7335 GB, free: 163.2 MB / 0.545 GB Notification: Performance of Templates: time 0.05652/1.372, allocations: 34.67 MB / 0.7674 GB, free: 138.9 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches