Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.3 MB / 213.7 MB, free: 1.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008469/0.0008472, allocations: 90.14 kB / 261.8 MB, free: 1.66 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.1894/0.1894, allocations: 43.49 MB / 353.2 MB, free: 264 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.692e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5466, allocations: 108.3 MB / 0.5717 GB, free: 3.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.547, allocations: 77.58 kB / 0.5718 GB, free: 3.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2329/0.7798, allocations: 97.14 MB / 0.6667 GB, free: 10.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7799, allocations: 0 / 0.6667 GB, free: 10.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001905/0.7801, allocations: 99.98 kB / 0.6668 GB, free: 9.98 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01635/0.7965, allocations: 4.683 MB / 0.6713 GB, free: 5.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.7965, allocations: 8.031 kB / 0.6714 GB, free: 5.223 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.8127, allocations: 3.628 MB / 0.6749 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/0.8263, allocations: 4.913 MB / 0.6797 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002953/0.8266, allocations: 167.9 kB / 0.6799 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002938/0.8295, allocations: 291.9 kB / 0.6801 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01763/0.8472, allocations: 8.506 MB / 0.6884 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/0.8801, allocations: 11.22 MB / 0.6994 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/0.8805, allocations: 27.72 kB / 0.6994 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003043/0.8836, allocations: 24 kB / 0.6995 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.886, allocations: 1.33 MB / 0.7008 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3555/1.242, allocations: 39.82 MB / 0.7396 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/1.246, allocations: 4.343 MB / 0.7439 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.25, allocations: 2.31 MB / 0.7461 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/1.251, allocations: 1.654 MB / 0.7477 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.251, allocations: 65.92 kB / 0.7478 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 5.39e-06/1.251, allocations: 0 / 0.7478 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=278): time 0.02436/1.275, allocations: 14.48 MB / 0.762 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.275, allocations: 106.9 kB / 0.7621 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/1.279, allocations: 2.603 MB / 0.7646 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.279, allocations: 25.7 kB / 0.7646 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/1.281, allocations: 3.314 MB / 0.7679 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008267/1.282, allocations: 1 MB / 0.7688 GB, free: 96.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.282, allocations: 3.906 kB / 0.7688 GB, free: 96.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002987/1.282, allocations: 0.5904 MB / 0.7694 GB, free: 96.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/1.285, allocations: 2.356 MB / 0.7717 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003845/1.289, allocations: 5.976 MB / 0.7775 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/1.293, allocations: 3.781 MB / 0.7812 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-05/1.293, allocations: 36.16 kB / 0.7813 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=871) (initialization): time 0.01271/1.306, allocations: 8.489 MB / 0.7896 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/1.306, allocations: 60.41 kB / 0.7896 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/1.306, allocations: 132 kB / 0.7897 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002985/1.309, allocations: 1.152 MB / 0.7909 GB, free: 86.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004632/1.313, allocations: 1.491 MB / 0.7923 GB, free: 86.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/1.318, allocations: 4.464 MB / 0.7967 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/1.324, allocations: 217.4 kB / 0.7969 GB, free: 83.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.325, allocations: 384.6 kB / 0.7973 GB, free: 83.53 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.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.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: 586 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (810): * Single equations (assignments): 802 * 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.002205/1.328, allocations: 452.4 kB / 0.7977 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008978/1.329, allocations: 302.1 kB / 0.798 GB, free: 83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/1.337, allocations: 4.808 MB / 0.8027 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-05/1.337, allocations: 51.61 kB / 0.8027 GB, free: 80.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.337, allocations: 0 / 0.8027 GB, free: 80.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/1.337, allocations: 14.41 kB / 0.8027 GB, free: 80.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.352, allocations: 10.85 MB / 0.8133 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.353, allocations: 12 kB / 0.8133 GB, free: 71.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.354, allocations: 455.1 kB / 0.8138 GB, free: 71.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/1.356, allocations: 0.6651 MB / 0.8144 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/1.356, allocations: 31.59 kB / 0.8145 GB, free: 70.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.358, allocations: 2.33 MB / 0.8167 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-06/1.358, allocations: 15.94 kB / 0.8168 GB, free: 68.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008602/1.367, allocations: 8.15 MB / 0.8247 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/1.368, allocations: 352.7 kB / 0.825 GB, free: 60.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/1.368, allocations: 19.8 kB / 0.8251 GB, free: 60.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.37, allocations: 109.6 kB / 0.8252 GB, free: 60.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.37, allocations: 178.5 kB / 0.8253 GB, free: 60.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.37, allocations: 79.89 kB / 0.8254 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002627/1.373, allocations: 1.702 MB / 0.8271 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.184e-06/1.373, allocations: 0 / 0.8271 GB, free: 58.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005859/1.379, allocations: 0.9565 MB / 0.828 GB, free: 57.65 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 (228): * Single equations (assignments): 219 * 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.0006252/1.379, allocations: 181.8 kB / 0.8282 GB, free: 57.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008981/1.388, allocations: 5.845 MB / 0.8339 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.388, allocations: 0 / 0.8339 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.392, allocations: 2.543 MB / 0.8364 GB, free: 49.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.394, allocations: 307.1 kB / 0.8367 GB, free: 49.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.412, allocations: 9.921 MB / 0.8464 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003728/1.416, allocations: 3.864 MB / 0.8501 GB, free: 37.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005383/1.421, allocations: 2.311 MB / 0.8524 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/1.422, allocations: 254.7 kB / 0.8526 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/1.422, allocations: 3.562 kB / 0.8526 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.05719/1.479, allocations: 31.17 MB / 0.8831 GB, free: 7.977 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches