Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 193.7 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007436/0.0007436, allocations: 114.9 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2974/0.2974, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002867, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2989, allocations: 62.96 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.4235, allocations: 104.4 MB / 0.6184 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4238, allocations: 75.97 kB / 0.6185 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4897/0.9135, allocations: 86.21 MB / 0.7027 GB, free: 101.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.9135, allocations: 0 / 0.7027 GB, free: 101.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001619/0.9137, allocations: 66.91 kB / 0.7027 GB, free: 101.1 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.01366/0.9274, allocations: 3.679 MB / 0.7063 GB, free: 99.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.9274, allocations: 12.34 kB / 0.7063 GB, free: 99.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.9433, allocations: 3.62 MB / 0.7099 GB, free: 99.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009067/0.9525, allocations: 3.387 MB / 0.7132 GB, free: 98.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000402/0.9529, allocations: 285.2 kB / 0.7134 GB, free: 98.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002388/0.9553, allocations: 377.7 kB / 0.7138 GB, free: 98.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.9769, allocations: 10.04 MB / 0.7236 GB, free: 95.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/0.9771, allocations: 34.62 kB / 0.7236 GB, free: 95.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/0.9785, allocations: 169.3 kB / 0.7238 GB, free: 95.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0014/0.9799, allocations: 1.162 MB / 0.7249 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.9969, allocations: 9.817 MB / 0.7345 GB, free: 92.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05054/1.047, allocations: 35.67 MB / 0.7694 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006876/1.054, allocations: 4.278 MB / 0.7735 GB, free: 65.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/1.057, allocations: 2.147 MB / 0.7756 GB, free: 63.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009507/1.058, allocations: 1.32 MB / 0.7769 GB, free: 62.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.058, allocations: 56.5 kB / 0.777 GB, free: 62.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 5.78e-06/1.058, allocations: 0 / 0.777 GB, free: 62.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.03406/1.092, allocations: 16.44 MB / 0.793 GB, free: 46.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008908/1.093, allocations: 1.53 MB / 0.7945 GB, free: 44.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/1.097, allocations: 2.705 MB / 0.7972 GB, free: 42.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004063/1.097, allocations: 57.7 kB / 0.7972 GB, free: 42.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.098, allocations: 2.668 MB / 0.7998 GB, free: 39.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009454/1.099, allocations: 0.921 MB / 0.8007 GB, free: 38.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/1.1, allocations: 110.4 kB / 0.8008 GB, free: 38.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.1, allocations: 0.5416 MB / 0.8014 GB, free: 37.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/1.103, allocations: 2.38 MB / 0.8037 GB, free: 35.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004312/1.108, allocations: 5.341 MB / 0.8089 GB, free: 28.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007814/1.116, allocations: 8.412 MB / 0.8171 GB, free: 18.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.044e-05/1.116, allocations: 32 kB / 0.8171 GB, free: 18.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=731) (initialization): time 0.01914/1.135, allocations: 9.259 MB / 0.8262 GB, free: 9.531 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.766e-05/1.135, allocations: 52.19 kB / 0.8262 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01115/1.146, allocations: 4.487 MB / 0.8306 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008905/1.155, allocations: 2.008 MB / 0.8326 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/1.159, allocations: 1.248 MB / 0.8338 GB, free: 1.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/1.166, allocations: 4.961 MB / 0.8386 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/1.17, allocations: 387.6 kB / 0.839 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.172, allocations: 316 kB / 0.8393 GB, free: 11.8 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.005167/1.177, allocations: 2.051 MB / 0.8413 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/1.178, allocations: 276.4 kB / 0.8416 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.188, allocations: 5.273 MB / 0.8467 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009229/1.198, allocations: 4.541 MB / 0.8512 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.198, allocations: 4 kB / 0.8512 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/1.198, allocations: 7.969 kB / 0.8512 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02961/1.227, allocations: 14.36 MB / 0.8652 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.068e-05/1.227, allocations: 11.98 kB / 0.8652 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.229, allocations: 407.3 kB / 0.8656 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004014/1.233, allocations: 1.189 MB / 0.8668 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003825/1.234, allocations: 59.97 kB / 0.8668 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004837/1.238, allocations: 4.436 MB / 0.8711 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00106/1.24, allocations: 1.478 MB / 0.8726 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.253, allocations: 7.86 MB / 0.8803 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/1.254, allocations: 333.5 kB / 0.8806 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007157/1.255, allocations: 58.58 kB / 0.8806 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.256, allocations: 195.6 kB / 0.8808 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/1.257, allocations: 160.9 kB / 0.881 GB, free: 272 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.257, allocations: 71.98 kB / 0.881 GB, free: 200 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.2433/1.5, allocations: 1.651 MB / 0.8827 GB, free: 136 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.92e-07/1.5, allocations: 0 / 0.8827 GB, free: 136 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005468/1.506, allocations: 1.052 MB / 0.8837 GB, free: 136 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.0006048/1.507, allocations: 200 kB / 0.8839 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009777/1.516, allocations: 6.339 MB / 0.8901 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.516, allocations: 0 / 0.8901 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004575/1.521, allocations: 2.843 MB / 0.8928 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/1.526, allocations: 376 kB / 0.8932 GB, free: 135 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.548, allocations: 12.73 MB / 0.9056 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005788/1.554, allocations: 3.242 MB / 0.9088 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.556, allocations: 259.6 kB / 0.9091 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/1.556, allocations: 5.156 kB / 0.9091 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.1259/1.681, allocations: 128.7 MB / 1.035 GB, free: 39.74 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches