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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.5 MB / 245.4 MB, free: 8.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000804/0.0008039, allocations: 94.94 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3712/0.3712, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003217, allocations: 8 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4062, allocations: 62.95 MB / 0.5184 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5611, allocations: 104.4 MB / 0.6203 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.5615, allocations: 79.95 kB / 0.6204 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5473/1.109, allocations: 86.19 MB / 0.7046 GB, free: 101.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.388e-06/1.109, allocations: 0.9062 kB / 0.7046 GB, free: 101.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002666/1.109, allocations: 66.38 kB / 0.7047 GB, free: 101.6 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01289/1.122, allocations: 3.677 MB / 0.7083 GB, free: 99.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.122, allocations: 10.16 kB / 0.7083 GB, free: 99.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/1.137, allocations: 3.626 MB / 0.7118 GB, free: 99.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009555/1.147, allocations: 3.384 MB / 0.7151 GB, free: 99.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004893/1.148, allocations: 287.4 kB / 0.7154 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/1.151, allocations: 381.1 kB / 0.7157 GB, free: 99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02774/1.178, allocations: 10.04 MB / 0.7255 GB, free: 96.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003032/1.179, allocations: 34.59 kB / 0.7256 GB, free: 96.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002799/1.181, allocations: 177.2 kB / 0.7257 GB, free: 95.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001824/1.183, allocations: 1.163 MB / 0.7269 GB, free: 95.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/1.202, allocations: 9.81 MB / 0.7365 GB, free: 92.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05026/1.252, allocations: 35.67 MB / 0.7713 GB, free: 69.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006863/1.259, allocations: 4.294 MB / 0.7755 GB, free: 65.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/1.261, allocations: 2.146 MB / 0.7776 GB, free: 63.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.262, allocations: 1.31 MB / 0.7789 GB, free: 62.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/1.262, allocations: 60.5 kB / 0.7789 GB, free: 62.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 5.209e-06/1.263, allocations: 0 / 0.7789 GB, free: 62.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.03276/1.295, allocations: 16.43 MB / 0.795 GB, free: 46.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001008/1.296, allocations: 1.535 MB / 0.7965 GB, free: 44.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/1.301, allocations: 2.709 MB / 0.7991 GB, free: 42.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006409/1.302, allocations: 57.38 kB / 0.7992 GB, free: 42.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.304, allocations: 2.658 MB / 0.8018 GB, free: 39.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.305, allocations: 0.9291 MB / 0.8027 GB, free: 38.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005462/1.306, allocations: 110.4 kB / 0.8028 GB, free: 38.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004701/1.306, allocations: 0.5455 MB / 0.8033 GB, free: 37.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.309, allocations: 2.377 MB / 0.8056 GB, free: 35.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004977/1.314, allocations: 5.341 MB / 0.8108 GB, free: 28.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/1.322, allocations: 8.416 MB / 0.8191 GB, free: 18.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-05/1.322, allocations: 28 kB / 0.8191 GB, free: 18.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=731) (initialization): time 0.02027/1.343, allocations: 9.268 MB / 0.8281 GB, free: 9.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.343, allocations: 50.97 kB / 0.8282 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0108/1.354, allocations: 4.479 MB / 0.8326 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00981/1.364, allocations: 2.016 MB / 0.8345 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/1.369, allocations: 1.248 MB / 0.8357 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/1.375, allocations: 4.951 MB / 0.8406 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/1.38, allocations: 395 kB / 0.841 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.381, allocations: 316 kB / 0.8413 GB, free: 11.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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 (669): * Single equations (assignments): 657 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00694/1.388, allocations: 2.056 MB / 0.8433 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.39, allocations: 272.4 kB / 0.8435 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.402, allocations: 5.266 MB / 0.8487 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00902/1.411, allocations: 4.549 MB / 0.8531 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.411, allocations: 0 / 0.8531 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/1.411, allocations: 11.91 kB / 0.8531 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03192/1.443, allocations: 14.36 MB / 0.8671 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.096e-05/1.443, allocations: 12.06 kB / 0.8672 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.445, allocations: 407.3 kB / 0.8675 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/1.449, allocations: 1.185 MB / 0.8687 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006053/1.45, allocations: 63.98 kB / 0.8688 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/1.455, allocations: 4.443 MB / 0.8731 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001102/1.456, allocations: 1.478 MB / 0.8745 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.47, allocations: 7.854 MB / 0.8822 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009889/1.471, allocations: 333.5 kB / 0.8825 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009034/1.472, allocations: 55.98 kB / 0.8826 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.474, allocations: 190.5 kB / 0.8828 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/1.475, allocations: 168.8 kB / 0.8829 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002368/1.475, allocations: 71.98 kB / 0.883 GB, free: 168 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.322/1.797, allocations: 1.647 MB / 0.8846 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.172e-06/1.797, allocations: 0.7812 kB / 0.8846 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006266/1.803, allocations: 1.047 MB / 0.8856 GB, free: 136.4 MB / 0.5261 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006478/1.804, allocations: 206.3 kB / 0.8858 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00977/1.814, allocations: 6.331 MB / 0.892 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.814, allocations: 2 kB / 0.892 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004552/1.818, allocations: 2.842 MB / 0.8948 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/1.824, allocations: 376.2 kB / 0.8951 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.843, allocations: 12.27 MB / 0.9071 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005992/1.849, allocations: 3.232 MB / 0.9103 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007018/1.857, allocations: 2.066 MB / 0.9123 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009217/1.858, allocations: 218.2 kB / 0.9125 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/1.858, allocations: 0 / 0.9125 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.06405/1.922, allocations: 33.54 MB / 0.9453 GB, free: 128.1 MB / 0.5261 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches