Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 174 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008414, allocations: 90.48 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.243/0.243, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.858e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5571, allocations: 109.6 MB / 0.6017 GB, free: 2.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5574, allocations: 75.97 kB / 0.6018 GB, free: 2.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2394/0.7969, allocations: 96.1 MB / 0.6957 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7969, allocations: 0 / 0.6957 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001834/0.7971, allocations: 84 kB / 0.6957 GB, free: 1.832 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.3157/1.113, allocations: 4.589 MB / 0.7002 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.113, allocations: 13.02 kB / 0.7002 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/1.13, allocations: 3.6 MB / 0.7037 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/1.145, allocations: 4.715 MB / 0.7083 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003896/1.146, allocations: 161.9 kB / 0.7085 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002679/1.148, allocations: 292.6 kB / 0.7088 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01633/1.165, allocations: 8.276 MB / 0.7169 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/1.184, allocations: 10.95 MB / 0.7276 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/1.184, allocations: 35.02 kB / 0.7276 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000656/1.185, allocations: 17.19 kB / 0.7276 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/1.186, allocations: 1.299 MB / 0.7289 GB, free: 111 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05958/1.246, allocations: 39 MB / 0.767 GB, free: 89.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004547/1.25, allocations: 4.237 MB / 0.7711 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/1.253, allocations: 2.275 MB / 0.7733 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.254, allocations: 1.65 MB / 0.7749 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.254, allocations: 54.28 kB / 0.775 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=260): time 7.144e-06/1.254, allocations: 2.219 kB / 0.775 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=269): time 0.02539/1.28, allocations: 14.2 MB / 0.7888 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.28, allocations: 99.11 kB / 0.7889 GB, free: 77.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/1.283, allocations: 2.544 MB / 0.7914 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003161/1.283, allocations: 25.7 kB / 0.7915 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.284, allocations: 3.228 MB / 0.7946 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007971/1.285, allocations: 0.9719 MB / 0.7956 GB, free: 71.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/1.285, allocations: 0 / 0.7956 GB, free: 71.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002854/1.286, allocations: 0.5793 MB / 0.7961 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/1.288, allocations: 2.299 MB / 0.7984 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/1.292, allocations: 5.825 MB / 0.8041 GB, free: 61.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/1.296, allocations: 3.683 MB / 0.8076 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.095e-05/1.296, allocations: 39.95 kB / 0.8077 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=846) (initialization): time 0.01286/1.309, allocations: 8.294 MB / 0.8158 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/1.309, allocations: 56.22 kB / 0.8158 GB, free: 51.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/1.309, allocations: 135.1 kB / 0.816 GB, free: 51.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002991/1.312, allocations: 1.143 MB / 0.8171 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/1.317, allocations: 1.446 MB / 0.8185 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005025/1.322, allocations: 4.45 MB / 0.8228 GB, free: 45.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004912/1.327, allocations: 215 kB / 0.823 GB, free: 44.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.328, allocations: 367.5 kB / 0.8234 GB, free: 44.56 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring.e_rel_0[2]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[1]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.e_rel_0[3]:VARIABLE(unit = "1" ) "Unit vector in direction from frame_a to frame_b, resolved in world frame" type: Real [3] spring.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 32 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (785): * Single equations (assignments): 777 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 5} Notification: Performance of prepare postOptimizeDAE: time 0.001075/1.329, allocations: 441.7 kB / 0.8238 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/1.329, allocations: 300.1 kB / 0.8241 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006669/1.336, allocations: 4.699 MB / 0.8287 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/1.336, allocations: 47.95 kB / 0.8287 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.336, allocations: 0 / 0.8287 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/1.336, allocations: 11.62 kB / 0.8288 GB, free: 39.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.352, allocations: 10.67 MB / 0.8392 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.352, allocations: 12 kB / 0.8392 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.354, allocations: 432.4 kB / 0.8396 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/1.355, allocations: 0.6557 MB / 0.8402 GB, free: 29.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/1.356, allocations: 27.98 kB / 0.8403 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.358, allocations: 2.333 MB / 0.8425 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/1.358, allocations: 18.38 kB / 0.8426 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008297/1.366, allocations: 8.007 MB / 0.8504 GB, free: 18.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/1.367, allocations: 345.1 kB / 0.8507 GB, free: 18.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/1.367, allocations: 23.98 kB / 0.8507 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.368, allocations: 107.8 kB / 0.8508 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/1.369, allocations: 169.6 kB / 0.851 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.369, allocations: 77.39 kB / 0.8511 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002033/1.371, allocations: 1.66 MB / 0.8527 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.371, allocations: 0 / 0.8527 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003996/1.375, allocations: 0.9276 MB / 0.8536 GB, free: 15.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 209 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0004165/1.375, allocations: 180.8 kB / 0.8538 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006622/1.382, allocations: 5.703 MB / 0.8593 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.382, allocations: 0 / 0.8593 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/1.385, allocations: 2.483 MB / 0.8618 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.386, allocations: 328 kB / 0.8621 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.4, allocations: 9.689 MB / 0.8715 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0045/1.404, allocations: 3.781 MB / 0.8752 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005243/1.409, allocations: 2.241 MB / 0.8774 GB, free: 7.109 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000741/1.41, allocations: 235.4 kB / 0.8776 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/1.41, allocations: 4 kB / 0.8776 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of Templates: time 0.326/1.736, allocations: 30.67 MB / 0.9076 GB, free: 123.8 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches