Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 183.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001018/0.001018, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2336/0.2336, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 58.85 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4089/0.5408, allocations: 109.1 MB / 0.5853 GB, free: 7.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5411, allocations: 80.7 kB / 0.5854 GB, free: 6.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2401/0.7812, allocations: 99.38 MB / 0.6825 GB, free: 11.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.7813, allocations: 0 / 0.6825 GB, free: 11.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001588/0.7814, allocations: 99.94 kB / 0.6826 GB, free: 11.12 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.01631/0.7977, allocations: 4.854 MB / 0.6873 GB, free: 6.195 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.7978, allocations: 8.031 kB / 0.6873 GB, free: 6.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.8139, allocations: 3.635 MB / 0.6909 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/0.8281, allocations: 4.956 MB / 0.6957 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/0.8286, allocations: 382 kB / 0.6961 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002579/0.8312, allocations: 0.4918 MB / 0.6965 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2836/1.115, allocations: 12.37 MB / 0.7086 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003825/1.115, allocations: 32.52 kB / 0.7087 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003218/1.118, allocations: 226.5 kB / 0.7089 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002731/1.121, allocations: 1.336 MB / 0.7102 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02883/1.15, allocations: 11.65 MB / 0.7216 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06105/1.211, allocations: 42.4 MB / 0.763 GB, free: 93.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008615/1.22, allocations: 5.003 MB / 0.7678 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/1.23, allocations: 6.959 MB / 0.7746 GB, free: 87.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/1.23, allocations: 54.75 kB / 0.7747 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=238): time 4.839e-06/1.23, allocations: 3.562 kB / 0.7747 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=259): time 0.04393/1.274, allocations: 19.6 MB / 0.7938 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.274, allocations: 74.44 kB / 0.7939 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/1.278, allocations: 2.871 MB / 0.7967 GB, free: 80.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003119/1.278, allocations: 61.58 kB / 0.7968 GB, free: 80.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.28, allocations: 3.306 MB / 0.8 GB, free: 77.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008621/1.281, allocations: 0.9677 MB / 0.8009 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/1.281, allocations: 118.6 kB / 0.8011 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002766/1.281, allocations: 0.575 MB / 0.8016 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/1.284, allocations: 2.48 MB / 0.804 GB, free: 75.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004233/1.289, allocations: 5.865 MB / 0.8098 GB, free: 70.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/1.293, allocations: 3.805 MB / 0.8135 GB, free: 68.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.802e-05/1.293, allocations: 36 kB / 0.8135 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.01982/1.313, allocations: 10.08 MB / 0.8234 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/1.313, allocations: 56 kB / 0.8234 GB, free: 59.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/1.313, allocations: 127.2 kB / 0.8235 GB, free: 59.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008124/1.321, allocations: 2.326 MB / 0.8258 GB, free: 58.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.326, allocations: 1.37 MB / 0.8271 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/1.341, allocations: 11.1 MB / 0.838 GB, free: 47.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/1.346, allocations: 332.1 kB / 0.8383 GB, free: 47.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/1.347, allocations: 362.4 kB / 0.8386 GB, free: 46.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 734 * 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: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.004962/1.352, allocations: 2.452 MB / 0.841 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/1.353, allocations: 308 kB / 0.8413 GB, free: 44.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/1.36, allocations: 4.683 MB / 0.8459 GB, free: 40.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/1.36, allocations: 41.64 kB / 0.8459 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.36, allocations: 0 / 0.8459 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/1.36, allocations: 19.28 kB / 0.846 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.38, allocations: 11.02 MB / 0.8567 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.38, allocations: 4 kB / 0.8567 GB, free: 30.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.381, allocations: 431.3 kB / 0.8571 GB, free: 30.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/1.383, allocations: 0.6894 MB / 0.8578 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.383, allocations: 61.14 kB / 0.8579 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/1.385, allocations: 2.444 MB / 0.8603 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.385, allocations: 12 kB / 0.8603 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008436/1.394, allocations: 7.602 MB / 0.8677 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008764/1.395, allocations: 368.9 kB / 0.868 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/1.395, allocations: 48 kB / 0.8681 GB, free: 18.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.397, allocations: 140.7 kB / 0.8682 GB, free: 18.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.397, allocations: 142.9 kB / 0.8684 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.397, allocations: 81.14 kB / 0.8684 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002581/1.4, allocations: 1.94 MB / 0.8703 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/1.4, allocations: 4 kB / 0.8703 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005316/1.405, allocations: 1.148 MB / 0.8715 GB, free: 15.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * 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 (212): * Single equations (assignments): 203 * 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.000471/1.405, allocations: 203 kB / 0.8717 GB, free: 15.09 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.008531/1.414, allocations: 6.194 MB / 0.8777 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.414, allocations: 3.281 kB / 0.8777 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/1.418, allocations: 2.55 MB / 0.8802 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.42, allocations: 415.7 kB / 0.8806 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.441, allocations: 13.62 MB / 0.8939 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004506/1.446, allocations: 3.9 MB / 0.8977 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00491/1.451, allocations: 2.078 MB / 0.8997 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/1.451, allocations: 247.4 kB / 0.9 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/1.451, allocations: 0 / 0.9 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of Templates: time 0.2639/1.715, allocations: 39.59 MB / 0.9386 GB, free: 113.9 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit4/FreeMotionScalarInit4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches