Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002144/0.002143, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 91.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.412/0.412, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.752e-05, allocations: 4 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4039, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.5977, allocations: 101.6 MB / 0.5652 GB, free: 13.66 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5981, allocations: 71.97 kB / 0.5652 GB, free: 13.59 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6968/1.295, allocations: 86.09 MB / 0.6493 GB, free: 111.2 MB / 475.1 MB Notification: Performance of FrontEnd: time 3.977e-06/1.295, allocations: 0 / 0.6493 GB, free: 111.2 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002236/1.295, allocations: 76.14 kB / 0.6494 GB, free: 111.2 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01524/1.31, allocations: 3.702 MB / 0.653 GB, free: 109.6 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.31, allocations: 9.125 kB / 0.653 GB, free: 109.6 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02867/1.339, allocations: 3.654 MB / 0.6566 GB, free: 109.3 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/1.359, allocations: 4.948 MB / 0.6614 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003346/1.359, allocations: 126.8 kB / 0.6615 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/1.362, allocations: 221.3 kB / 0.6617 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01732/1.379, allocations: 7.282 MB / 0.6688 GB, free: 108.8 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/1.405, allocations: 9.588 MB / 0.6782 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002336/1.405, allocations: 29.78 kB / 0.6782 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002272/1.408, allocations: 15.22 kB / 0.6782 GB, free: 106.7 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/1.41, allocations: 1.198 MB / 0.6794 GB, free: 106.5 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06955/1.48, allocations: 34.1 MB / 0.7127 GB, free: 86.11 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006777/1.487, allocations: 4.055 MB / 0.7167 GB, free: 83.82 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/1.491, allocations: 2.123 MB / 0.7188 GB, free: 83.03 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/1.492, allocations: 1.322 MB / 0.72 GB, free: 81.72 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.493, allocations: 56.52 kB / 0.7201 GB, free: 81.66 MB / 475.1 MB Notification: Performance of pre-optimization done (n=247): time 7.985e-06/1.493, allocations: 4 kB / 0.7201 GB, free: 81.65 MB / 475.1 MB Notification: Performance of matching and sorting (n=264): time 0.04912/1.542, allocations: 14.79 MB / 0.7345 GB, free: 68.87 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/1.542, allocations: 73.41 kB / 0.7346 GB, free: 68.78 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/1.546, allocations: 2.393 MB / 0.7369 GB, free: 66.68 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006493/1.547, allocations: 29.64 kB / 0.737 GB, free: 66.64 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.549, allocations: 2.822 MB / 0.7397 GB, free: 64.07 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.551, allocations: 0.9528 MB / 0.7407 GB, free: 63.21 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000647/1.552, allocations: 0 / 0.7407 GB, free: 63.21 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0004406/1.552, allocations: 0.5729 MB / 0.7412 GB, free: 62.7 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.557, allocations: 2.363 MB / 0.7435 GB, free: 60.59 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007455/1.565, allocations: 5.627 MB / 0.749 GB, free: 53.7 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007748/1.573, allocations: 3.672 MB / 0.7526 GB, free: 50.59 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/1.573, allocations: 32 kB / 0.7526 GB, free: 50.55 MB / 475.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03384/1.607, allocations: 8.974 MB / 0.7614 GB, free: 41.73 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/1.607, allocations: 52 kB / 0.7615 GB, free: 41.68 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02098/1.628, allocations: 4.486 MB / 0.7658 GB, free: 37.18 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01877/1.647, allocations: 2.055 MB / 0.7678 GB, free: 35.11 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008371/1.655, allocations: 1.38 MB / 0.7692 GB, free: 33.72 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/1.665, allocations: 4.792 MB / 0.7739 GB, free: 28.7 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006535/1.671, allocations: 295.5 kB / 0.7741 GB, free: 28.41 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.673, allocations: 352 kB / 0.7745 GB, free: 28.07 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 24 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (739): * Single equations (assignments): 727 * 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.001098/1.674, allocations: 403.3 kB / 0.7749 GB, free: 27.67 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/1.674, allocations: 284.3 kB / 0.7751 GB, free: 27.39 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.69, allocations: 5.235 MB / 0.7803 GB, free: 22.08 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01395/1.704, allocations: 4.503 MB / 0.7846 GB, free: 17.52 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/1.704, allocations: 4 kB / 0.7847 GB, free: 17.52 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.626e-05/1.704, allocations: 7.969 kB / 0.7847 GB, free: 17.51 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03605/1.74, allocations: 13.55 MB / 0.7979 GB, free: 3.762 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/1.74, allocations: 8 kB / 0.7979 GB, free: 3.754 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003561/1.743, allocations: 435.3 kB / 0.7983 GB, free: 3.328 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007426/1.751, allocations: 1.173 MB / 0.7995 GB, free: 2.141 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004877/1.751, allocations: 31.97 kB / 0.7995 GB, free: 2.109 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/1.759, allocations: 4.337 MB / 0.8037 GB, free: 13.55 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001484/1.76, allocations: 1.415 MB / 0.8051 GB, free: 12.02 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02321/1.784, allocations: 8.762 MB / 0.8137 GB, free: 2.812 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.785, allocations: 337.4 kB / 0.814 GB, free: 2.461 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/1.786, allocations: 23.92 kB / 0.814 GB, free: 2.438 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.789, allocations: 163.7 kB / 0.8142 GB, free: 2.277 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007081/1.789, allocations: 177.5 kB / 0.8143 GB, free: 2.102 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003039/1.79, allocations: 71.98 kB / 0.8144 GB, free: 2.031 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.00367/1.793, allocations: 1.569 MB / 0.8159 GB, free: 468 kB / 491.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.794, allocations: 0 / 0.8159 GB, free: 468 kB / 491.1 MB Notification: Performance of remove unused functions: time 0.00689/1.8, allocations: 0.9727 MB / 0.8169 GB, free: 15.48 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 195 * 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.0008262/1.801, allocations: 170.6 kB / 0.8171 GB, free: 15.31 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.02069/1.822, allocations: 6.275 MB / 0.8232 GB, free: 8.992 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 2.131e-05/1.822, allocations: 112 / 0.8232 GB, free: 8.992 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.01316/1.835, allocations: 2.831 MB / 0.8259 GB, free: 6.098 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/1.839, allocations: 244.6 kB / 0.8262 GB, free: 5.859 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3665/2.206, allocations: 9.596 MB / 0.8355 GB, free: 125.8 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009326/2.215, allocations: 3.404 MB / 0.8389 GB, free: 125 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/2.217, allocations: 278 kB / 0.8391 GB, free: 125 MB / 0.4952 GB Notification: Performance of SimCode: time 1.673e-06/2.217, allocations: 0.5312 kB / 0.8391 GB, free: 125 MB / 0.4952 GB Notification: Performance of Templates: time 0.2162/2.433, allocations: 125.4 MB / 0.9616 GB, free: 48.37 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion/FreeMotion.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches