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.001034/0.001034, allocations: 167.3 kB / 16.76 MB, free: 4.934 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.426/1.426, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008144/0.0008145, allocations: 92.95 kB / 271.3 MB, free: 8.25 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.365/0.365, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.5029, allocations: 109.3 MB / 0.5867 GB, free: 8.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5032, allocations: 79.95 kB / 0.5868 GB, free: 8.582 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4679/0.9711, allocations: 98.33 MB / 0.6828 GB, free: 92.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.9712, allocations: 2.953 kB / 0.6828 GB, free: 92.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000177/0.9714, allocations: 92.45 kB / 0.6829 GB, free: 92.06 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.01589/0.9873, allocations: 4.738 MB / 0.6875 GB, free: 90.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.9873, allocations: 13.53 kB / 0.6875 GB, free: 90.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/1.002, allocations: 3.597 MB / 0.691 GB, free: 89.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009937/1.012, allocations: 3.87 MB / 0.6948 GB, free: 89.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007224/1.013, allocations: 381.6 kB / 0.6952 GB, free: 89.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003683/1.016, allocations: 0.4951 MB / 0.6957 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03939/1.056, allocations: 12.3 MB / 0.7077 GB, free: 87.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/1.056, allocations: 43.97 kB / 0.7077 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002637/1.059, allocations: 229.8 kB / 0.7079 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002779/1.062, allocations: 1.336 MB / 0.7092 GB, free: 87.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03531/1.097, allocations: 11.54 MB / 0.7205 GB, free: 87.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07839/1.175, allocations: 42.35 MB / 0.7619 GB, free: 61.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/1.19, allocations: 5.002 MB / 0.7667 GB, free: 59.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004506/1.194, allocations: 2.419 MB / 0.7691 GB, free: 58.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/1.208, allocations: 6.881 MB / 0.7758 GB, free: 54.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.208, allocations: 59.59 kB / 0.7759 GB, free: 54.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 8.215e-06/1.208, allocations: 3.938 kB / 0.7759 GB, free: 54.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=259): time 0.06772/1.276, allocations: 19.08 MB / 0.7945 GB, free: 45.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/1.276, allocations: 77.41 kB / 0.7946 GB, free: 44.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006558/1.283, allocations: 3.206 MB / 0.7977 GB, free: 42.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005842/1.283, allocations: 64.75 kB / 0.7978 GB, free: 42.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/1.286, allocations: 3.311 MB / 0.801 GB, free: 39.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.288, allocations: 0.9635 MB / 0.802 GB, free: 38.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003675/1.288, allocations: 125.6 kB / 0.8021 GB, free: 38.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003943/1.288, allocations: 0.5695 MB / 0.8026 GB, free: 37.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005031/1.293, allocations: 2.477 MB / 0.8051 GB, free: 35.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/1.301, allocations: 5.892 MB / 0.8108 GB, free: 28.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.315, allocations: 9.116 MB / 0.8197 GB, free: 18.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.315, allocations: 36 kB / 0.8197 GB, free: 18.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=827) (initialization): time 0.02219/1.337, allocations: 10.08 MB / 0.8296 GB, free: 9.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.19e-05/1.337, allocations: 56 kB / 0.8296 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/1.337, allocations: 116.8 kB / 0.8298 GB, free: 9.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/1.345, allocations: 2.315 MB / 0.832 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/1.349, allocations: 1.379 MB / 0.8334 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.364, allocations: 10.68 MB / 0.8438 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/1.368, allocations: 328.4 kB / 0.8441 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.369, allocations: 360.8 kB / 0.8444 GB, free: 12 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.005078/1.374, allocations: 2.458 MB / 0.8468 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/1.375, allocations: 308 kB / 0.8471 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/1.383, allocations: 4.676 MB / 0.8517 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.18e-05/1.383, allocations: 49.41 kB / 0.8518 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.383, allocations: 3.938 kB / 0.8518 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/1.383, allocations: 11.95 kB / 0.8518 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/1.408, allocations: 11.02 MB / 0.8625 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.408, allocations: 4.594 kB / 0.8625 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.41, allocations: 427.4 kB / 0.8629 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002044/1.412, allocations: 0.689 MB / 0.8636 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.412, allocations: 64.95 kB / 0.8637 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/1.415, allocations: 2.42 MB / 0.866 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.415, allocations: 4 kB / 0.866 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2847/1.7, allocations: 7.19 MB / 0.8731 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/1.701, allocations: 358.6 kB / 0.8734 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006979/1.702, allocations: 49.73 kB / 0.8735 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.703, allocations: 141.1 kB / 0.8736 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/1.704, allocations: 147.1 kB / 0.8737 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.704, allocations: 73.14 kB / 0.8738 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003906/1.708, allocations: 1.944 MB / 0.8757 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/1.708, allocations: 1.469 kB / 0.8757 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005929/1.714, allocations: 1.145 MB / 0.8768 GB, free: 111.1 MB / 0.5105 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.0006447/1.714, allocations: 202.4 kB / 0.877 GB, free: 111 MB / 0.5105 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.01005/1.724, allocations: 6.194 MB / 0.8831 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.724, allocations: 2.781 kB / 0.8831 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003893/1.728, allocations: 2.547 MB / 0.8855 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/1.733, allocations: 454.3 kB / 0.886 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/1.753, allocations: 13.64 MB / 0.8993 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005157/1.758, allocations: 3.798 MB / 0.903 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006011/1.765, allocations: 2.081 MB / 0.905 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.766, allocations: 248.6 kB / 0.9053 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/1.766, allocations: 0 / 0.9053 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.07567/1.841, allocations: 39.73 MB / 0.9441 GB, free: 102.2 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/jenkins1/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