Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009495/0.0009496, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.3 MB / 236 MB, free: 2.938 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.000815/0.000815, allocations: 80.08 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1677/0.1677, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.057e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 61.9 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4999, allocations: 105.5 MB / 0.6048 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5002, allocations: 79.72 kB / 0.6048 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2241/0.7243, allocations: 94.43 MB / 0.697 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7243, allocations: 0 / 0.697 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001388/0.7245, allocations: 91.94 kB / 0.6971 GB, free: 0.5273 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.01315/0.7376, allocations: 4.409 MB / 0.7014 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7377, allocations: 8.031 kB / 0.7014 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/0.7519, allocations: 3.57 MB / 0.7049 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.7653, allocations: 4.635 MB / 0.7095 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.7657, allocations: 345.1 kB / 0.7098 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.7679, allocations: 463.8 kB / 0.7102 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2993/1.067, allocations: 11.09 MB / 0.7211 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003181/1.068, allocations: 29.91 kB / 0.7211 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002473/1.07, allocations: 209 kB / 0.7213 GB, free: 122 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002181/1.072, allocations: 1.198 MB / 0.7225 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/1.097, allocations: 10.53 MB / 0.7327 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/1.152, allocations: 37.61 MB / 0.7695 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006618/1.159, allocations: 4.243 MB / 0.7736 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/1.161, allocations: 2.097 MB / 0.7757 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/1.162, allocations: 1.319 MB / 0.7769 GB, free: 99.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.162, allocations: 55.31 kB / 0.777 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=235): time 4.478e-06/1.162, allocations: 0 / 0.777 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=256): time 0.02632/1.189, allocations: 10.57 MB / 0.7873 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.189, allocations: 75.09 kB / 0.7874 GB, free: 96.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/1.193, allocations: 2.563 MB / 0.7899 GB, free: 95.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/1.193, allocations: 56.8 kB / 0.7899 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001629/1.195, allocations: 3.037 MB / 0.7929 GB, free: 93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/1.195, allocations: 0.9467 MB / 0.7938 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/1.196, allocations: 115.3 kB / 0.794 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000283/1.196, allocations: 0.5573 MB / 0.7945 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002755/1.199, allocations: 2.268 MB / 0.7967 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/1.203, allocations: 5.467 MB / 0.802 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003963/1.207, allocations: 3.563 MB / 0.8055 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.384e-05/1.207, allocations: 34 kB / 0.8056 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01308/1.22, allocations: 8.46 MB / 0.8138 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/1.22, allocations: 52 kB / 0.8139 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.921e-05/1.22, allocations: 112 kB / 0.814 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/1.223, allocations: 1.057 MB / 0.815 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.227, allocations: 1.331 MB / 0.8163 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/1.23, allocations: 2.461 MB / 0.8187 GB, free: 74.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.233, allocations: 320.9 kB / 0.819 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005462/1.234, allocations: 336.4 kB / 0.8193 GB, free: 73.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (721): * Single equations (assignments): 712 * 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 prepare postOptimizeDAE: time 0.0007452/1.234, allocations: 0.5424 MB / 0.8199 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/1.235, allocations: 288.2 kB / 0.8201 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007786/1.243, allocations: 4.924 MB / 0.825 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.097e-05/1.243, allocations: 47.73 kB / 0.825 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.243, allocations: 0 / 0.825 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.243, allocations: 15.34 kB / 0.825 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.262, allocations: 11.52 MB / 0.8363 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.262, allocations: 10.06 kB / 0.8363 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.264, allocations: 413.9 kB / 0.8367 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/1.267, allocations: 0.9101 MB / 0.8376 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003734/1.267, allocations: 52.97 kB / 0.8376 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.269, allocations: 2.267 MB / 0.8398 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.269, allocations: 11.94 kB / 0.8398 GB, free: 56.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009715/1.279, allocations: 7.973 MB / 0.8476 GB, free: 48.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/1.28, allocations: 340.5 kB / 0.8479 GB, free: 48.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/1.28, allocations: 49.83 kB / 0.848 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.281, allocations: 136 kB / 0.8481 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/1.282, allocations: 151.8 kB / 0.8483 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.282, allocations: 71.69 kB / 0.8483 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002161/1.284, allocations: 1.74 MB / 0.85 GB, free: 46.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.284, allocations: 3.938 kB / 0.85 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004007/1.288, allocations: 1.016 MB / 0.851 GB, free: 45.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.0004465/1.288, allocations: 206 kB / 0.8512 GB, free: 45.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008684/1.297, allocations: 6.018 MB / 0.8571 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.297, allocations: 0 / 0.8571 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.301, allocations: 2.531 MB / 0.8596 GB, free: 37.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.303, allocations: 471.6 kB / 0.86 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.317, allocations: 9.388 MB / 0.8692 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/1.32, allocations: 3.673 MB / 0.8728 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004076/1.324, allocations: 2.101 MB / 0.8748 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006397/1.325, allocations: 239.4 kB / 0.8751 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/1.325, allocations: 0 / 0.8751 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.05278/1.377, allocations: 32.84 MB / 0.9071 GB, free: 5.918 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches