Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001705/0.001705, allocations: 183.1 kB / 15.76 MB, free: 6.367 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.724/1.724, 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.0009354/0.0009353, allocations: 98.86 kB / 270.2 MB, free: 13.37 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.2297/0.2297, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003538, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1421, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5798, allocations: 104.4 MB / 0.5807 GB, free: 11.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003759/0.5803, allocations: 76.97 kB / 0.5808 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2223/0.8026, allocations: 91.87 MB / 0.6705 GB, free: 7.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8026, allocations: 0 / 0.6705 GB, free: 7.488 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001489/0.8028, allocations: 80 kB / 0.6706 GB, free: 7.41 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: 1720 * Number of variables: 1720 Notification: Performance of Generate backend data structure: time 0.01572/0.8185, allocations: 4.453 MB / 0.6749 GB, free: 2.887 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8186, allocations: 12.02 kB / 0.6749 GB, free: 2.875 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.8338, allocations: 3.578 MB / 0.6784 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/0.8489, allocations: 4.749 MB / 0.6831 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.8493, allocations: 336.7 kB / 0.6834 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002346/0.8516, allocations: 443.8 kB / 0.6838 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02493/0.8766, allocations: 11.51 MB / 0.6951 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.8767, allocations: 31.75 kB / 0.6951 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000782/0.8775, allocations: 203.9 kB / 0.6953 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001654/0.8792, allocations: 1.259 MB / 0.6965 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.9024, allocations: 11.1 MB / 0.7074 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.316/1.218, allocations: 38.12 MB / 0.7446 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007476/1.226, allocations: 4.685 MB / 0.7492 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/1.227, allocations: 1.319 MB / 0.7504 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.227, allocations: 53.03 kB / 0.7505 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 5.841e-06/1.227, allocations: 3.75 kB / 0.7505 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=256): time 0.0358/1.263, allocations: 14.34 MB / 0.7645 GB, free: 100 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/1.263, allocations: 74.16 kB / 0.7646 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003795/1.267, allocations: 2.529 MB / 0.7671 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/1.267, allocations: 57.66 kB / 0.7671 GB, free: 99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.269, allocations: 2.964 MB / 0.77 GB, free: 97.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009095/1.27, allocations: 0.9437 MB / 0.7709 GB, free: 96.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/1.27, allocations: 111.3 kB / 0.771 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002869/1.27, allocations: 0.5575 MB / 0.7716 GB, free: 95.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/1.273, allocations: 2.275 MB / 0.7738 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004493/1.277, allocations: 5.431 MB / 0.7791 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/1.282, allocations: 3.527 MB / 0.7825 GB, free: 89.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.6e-05/1.282, allocations: 32.34 kB / 0.7826 GB, free: 89.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=766) (initialization): time 0.01202/1.294, allocations: 8.414 MB / 0.7908 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/1.294, allocations: 54.84 kB / 0.7908 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.294, allocations: 116.6 kB / 0.791 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003234/1.297, allocations: 1.026 MB / 0.792 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004224/1.301, allocations: 1.322 MB / 0.7932 GB, free: 86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/1.304, allocations: 2.5 MB / 0.7957 GB, free: 84.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.308, allocations: 311.7 kB / 0.796 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008734/1.308, allocations: 336.1 kB / 0.7963 GB, free: 84.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 503 * 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],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 (713): * Single equations (assignments): 704 * 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 {(3,100.0%),(2,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 prepare postOptimizeDAE: time 0.004638/1.313, allocations: 2.274 MB / 0.7985 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/1.314, allocations: 285.5 kB / 0.7988 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/1.322, allocations: 4.899 MB / 0.8036 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/1.322, allocations: 48.81 kB / 0.8036 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.322, allocations: 3.625 kB / 0.8036 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.322, allocations: 10.88 kB / 0.8036 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/1.34, allocations: 11.52 MB / 0.8149 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.34, allocations: 8.188 kB / 0.8149 GB, free: 72.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.342, allocations: 422.8 kB / 0.8153 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/1.344, allocations: 0.6061 MB / 0.8159 GB, free: 71.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/1.345, allocations: 51.42 kB / 0.8159 GB, free: 71.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.346, allocations: 2.096 MB / 0.818 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.346, allocations: 15.94 kB / 0.818 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009446/1.356, allocations: 7.733 MB / 0.8256 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/1.357, allocations: 351.2 kB / 0.8259 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.357, allocations: 40 kB / 0.8259 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.358, allocations: 135.4 kB / 0.8261 GB, free: 61.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/1.359, allocations: 157.3 kB / 0.8262 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.359, allocations: 77.62 kB / 0.8263 GB, free: 61.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002358/1.361, allocations: 1.724 MB / 0.828 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.361, allocations: 0 / 0.828 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004726/1.366, allocations: 1 MB / 0.8289 GB, free: 59.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.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 (207): * Single equations (assignments): 198 * 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.0005611/1.366, allocations: 193.3 kB / 0.8291 GB, free: 58.88 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Joints.mo:1916:5-1918:161:writable] Warning: Variable $DER.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:1913:5-1915:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009587/1.376, allocations: 5.968 MB / 0.835 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.376, allocations: 448 / 0.835 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003451/1.379, allocations: 2.38 MB / 0.8373 GB, free: 51.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.382, allocations: 399.4 kB / 0.8377 GB, free: 51.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.4, allocations: 12.97 MB / 0.8503 GB, free: 39.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/1.404, allocations: 3.613 MB / 0.8539 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004557/1.408, allocations: 2.076 MB / 0.8559 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/1.409, allocations: 223.4 kB / 0.8561 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/1.409, allocations: 0 / 0.8561 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of Templates: time 0.05503/1.464, allocations: 30.82 MB / 0.8862 GB, free: 3.094 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit2/FreeMotionScalarInit2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches