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.001217/0.001216, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.042/3.042, allocations: 205.4 MB / 223.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 86.36 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7684/0.7684, allocations: 43.57 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005709/0.0005715, allocations: 16 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7721/1.008, allocations: 102.5 MB / 0.58 GB, free: 15.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005536/1.008, allocations: 79.97 kB / 0.5801 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4794/1.488, allocations: 86.13 MB / 0.6642 GB, free: 9.051 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.637e-06/1.488, allocations: 0 / 0.6642 GB, free: 9.051 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007004/1.489, allocations: 72 kB / 0.6643 GB, free: 8.98 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.03078/1.519, allocations: 3.777 MB / 0.668 GB, free: 5.133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.507e-05/1.52, allocations: 8.031 kB / 0.668 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03224/1.552, allocations: 3.595 MB / 0.6715 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5563/2.108, allocations: 3.761 MB / 0.6752 GB, free: 96.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006314/2.109, allocations: 294 kB / 0.6754 GB, free: 96.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/2.112, allocations: 392.6 kB / 0.6758 GB, free: 96.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0325/2.145, allocations: 10.32 MB / 0.6859 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002972/2.145, allocations: 32.2 kB / 0.6859 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/2.147, allocations: 176.7 kB / 0.6861 GB, free: 94.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002281/2.15, allocations: 1.2 MB / 0.6873 GB, free: 94.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/2.175, allocations: 10.08 MB / 0.6971 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07075/2.246, allocations: 36.52 MB / 0.7328 GB, free: 74.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009647/2.255, allocations: 4.407 MB / 0.7371 GB, free: 72.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/2.259, allocations: 2.187 MB / 0.7392 GB, free: 71.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/2.26, allocations: 1.322 MB / 0.7405 GB, free: 70.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/2.26, allocations: 56.19 kB / 0.7406 GB, free: 70.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 8.817e-06/2.26, allocations: 0 / 0.7406 GB, free: 70.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=261): time 0.04773/2.308, allocations: 16.78 MB / 0.757 GB, free: 64.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00116/2.309, allocations: 1.533 MB / 0.7584 GB, free: 63.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005995/2.315, allocations: 2.788 MB / 0.7612 GB, free: 62.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005982/2.316, allocations: 56.92 kB / 0.7612 GB, free: 62.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002044/2.318, allocations: 2.752 MB / 0.7639 GB, free: 60.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001573/2.32, allocations: 0.9496 MB / 0.7648 GB, free: 59.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/2.32, allocations: 112.5 kB / 0.7649 GB, free: 59.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005478/2.321, allocations: 0.5465 MB / 0.7655 GB, free: 58.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004731/2.326, allocations: 2.435 MB / 0.7679 GB, free: 58.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006552/2.332, allocations: 5.485 MB / 0.7732 GB, free: 53.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/2.345, allocations: 8.632 MB / 0.7816 GB, free: 47.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/2.345, allocations: 33.56 kB / 0.7817 GB, free: 47.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02714/2.372, allocations: 9.495 MB / 0.7909 GB, free: 42.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/2.372, allocations: 52 kB / 0.791 GB, free: 42.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01545/2.388, allocations: 4.595 MB / 0.7955 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/2.399, allocations: 2.046 MB / 0.7975 GB, free: 37.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005907/2.405, allocations: 1.288 MB / 0.7987 GB, free: 36.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/2.413, allocations: 4.989 MB / 0.8036 GB, free: 32.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/2.419, allocations: 402 kB / 0.804 GB, free: 31.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/2.42, allocations: 330 kB / 0.8043 GB, free: 31.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 482 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (691): * Single equations (assignments): 679 * 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.005608/2.426, allocations: 2.107 MB / 0.8064 GB, free: 29.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008567/2.427, allocations: 292.2 kB / 0.8066 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/2.44, allocations: 5.376 MB / 0.8119 GB, free: 25.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01078/2.451, allocations: 4.646 MB / 0.8164 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/2.451, allocations: 0 / 0.8164 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/2.451, allocations: 11.64 kB / 0.8164 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/2.485, allocations: 14.66 MB / 0.8308 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.512e-05/2.485, allocations: 8 kB / 0.8308 GB, free: 9.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/2.488, allocations: 423.3 kB / 0.8312 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004919/2.493, allocations: 1.196 MB / 0.8323 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005712/2.493, allocations: 55.98 kB / 0.8324 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/2.498, allocations: 4.454 MB / 0.8367 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008851/2.499, allocations: 1.474 MB / 0.8382 GB, free: 1.332 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01952/2.519, allocations: 8.02 MB / 0.846 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/2.52, allocations: 345.5 kB / 0.8463 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/2.521, allocations: 59.53 kB / 0.8464 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/2.524, allocations: 199.6 kB / 0.8466 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007453/2.525, allocations: 176.8 kB / 0.8468 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004174/2.525, allocations: 75.98 kB / 0.8468 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004776/2.53, allocations: 1.701 MB / 0.8485 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.91e-07/2.53, allocations: 0 / 0.8485 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007926/2.538, allocations: 1.075 MB / 0.8495 GB, free: 5.488 MB / 0.4948 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 (202): * Single equations (assignments): 192 * 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.001103/2.539, allocations: 206 kB / 0.8497 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01599/2.555, allocations: 6.477 MB / 0.8561 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.555, allocations: 0 / 0.8561 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007434/2.563, allocations: 2.908 MB / 0.8589 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008674/2.571, allocations: 381.2 kB / 0.8593 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2904/2.862, allocations: 13.08 MB / 0.872 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005521/2.867, allocations: 3.324 MB / 0.8753 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/2.869, allocations: 272.1 kB / 0.8755 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/2.869, allocations: 1.344 kB / 0.8755 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1858/3.055, allocations: 132.4 MB / 1.005 GB, free: 52.29 MB / 0.5105 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