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.0009713/0.0009713, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.001061/0.001061, allocations: 103.4 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1942/0.1942, allocations: 44.14 MB / 376.5 MB, free: 3.074 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.592e-05, allocations: 4 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5756, allocations: 104.9 MB / 0.5971 GB, free: 7.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5758, allocations: 75.97 kB / 0.5971 GB, free: 7.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2293/0.8051, allocations: 92.76 MB / 0.6877 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.396e-06/0.8052, allocations: 0 / 0.6877 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001649/0.8054, allocations: 87.94 kB / 0.6878 GB, free: 10.05 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.01462/0.82, allocations: 4.406 MB / 0.6921 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.82, allocations: 11.98 kB / 0.6921 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/0.8354, allocations: 3.578 MB / 0.6956 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2727/1.108, allocations: 4.622 MB / 0.7001 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/1.109, allocations: 147.3 kB / 0.7003 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.112, allocations: 272.9 kB / 0.7005 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01547/1.127, allocations: 7.822 MB / 0.7082 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/1.153, allocations: 10.31 MB / 0.7182 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/1.154, allocations: 23.2 kB / 0.7183 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/1.155, allocations: 14.06 kB / 0.7183 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002315/1.158, allocations: 1.212 MB / 0.7195 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05061/1.208, allocations: 35 MB / 0.7536 GB, free: 95.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/1.213, allocations: 3.714 MB / 0.7573 GB, free: 93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/1.215, allocations: 2.041 MB / 0.7593 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.216, allocations: 1.324 MB / 0.7606 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.216, allocations: 48.06 kB / 0.7606 GB, free: 91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=237): time 5.971e-06/1.216, allocations: 0 / 0.7606 GB, free: 91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.02144/1.238, allocations: 11.02 MB / 0.7714 GB, free: 87.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/1.238, allocations: 75.44 kB / 0.7714 GB, free: 87.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/1.241, allocations: 2.476 MB / 0.7739 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003985/1.241, allocations: 25.7 kB / 0.7739 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.242, allocations: 3.115 MB / 0.7769 GB, free: 84.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000864/1.243, allocations: 0.961 MB / 0.7779 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/1.244, allocations: 0 / 0.7779 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000306/1.244, allocations: 0.5786 MB / 0.7784 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/1.246, allocations: 2.294 MB / 0.7807 GB, free: 82.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/1.25, allocations: 5.718 MB / 0.7863 GB, free: 76.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/1.254, allocations: 3.669 MB / 0.7898 GB, free: 74.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.325e-05/1.254, allocations: 36 kB / 0.7899 GB, free: 74.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=824) (initialization): time 0.01505/1.269, allocations: 8.182 MB / 0.7979 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.269, allocations: 56 kB / 0.7979 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/1.27, allocations: 125.6 kB / 0.798 GB, free: 67.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/1.273, allocations: 1.069 MB / 0.7991 GB, free: 66.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005366/1.279, allocations: 1.436 MB / 0.8005 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/1.281, allocations: 2.41 MB / 0.8028 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004569/1.286, allocations: 205.6 kB / 0.803 GB, free: 63.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/1.287, allocations: 371.6 kB / 0.8034 GB, free: 62.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * 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 (771): * Single equations (assignments): 762 * 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.001034/1.288, allocations: 429.3 kB / 0.8038 GB, free: 62.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/1.288, allocations: 297.7 kB / 0.8041 GB, free: 61.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008269/1.297, allocations: 5.007 MB / 0.809 GB, free: 57.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.725e-05/1.297, allocations: 53.23 kB / 0.809 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.297, allocations: 0 / 0.809 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.297, allocations: 10.64 kB / 0.809 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/1.315, allocations: 10.63 MB / 0.8194 GB, free: 49.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.315, allocations: 8 kB / 0.8194 GB, free: 49.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.317, allocations: 427.5 kB / 0.8198 GB, free: 48.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003326/1.32, allocations: 0.9094 MB / 0.8207 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004679/1.32, allocations: 43.44 kB / 0.8208 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.323, allocations: 2.191 MB / 0.8229 GB, free: 46.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-05/1.323, allocations: 15.94 kB / 0.8229 GB, free: 46.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.336, allocations: 8.162 MB / 0.8309 GB, free: 38.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.337, allocations: 336.6 kB / 0.8312 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/1.338, allocations: 16 kB / 0.8312 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/1.339, allocations: 104.1 kB / 0.8313 GB, free: 38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/1.34, allocations: 173.2 kB / 0.8315 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.34, allocations: 83.06 kB / 0.8316 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002247/1.342, allocations: 1.619 MB / 0.8331 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/1.342, allocations: 0 / 0.8331 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004288/1.347, allocations: 0.9079 MB / 0.834 GB, free: 35.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (214): * Single equations (assignments): 205 * 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.0004389/1.347, allocations: 169.2 kB / 0.8342 GB, free: 35.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00852/1.356, allocations: 6.041 MB / 0.8401 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/1.356, allocations: 0 / 0.8401 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003947/1.36, allocations: 2.595 MB / 0.8426 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.362, allocations: 359.4 kB / 0.843 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.377, allocations: 9.466 MB / 0.8522 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003727/1.381, allocations: 3.686 MB / 0.8558 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004984/1.386, allocations: 2.23 MB / 0.858 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008476/1.387, allocations: 259.3 kB / 0.8582 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/1.387, allocations: 0 / 0.8582 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.05709/1.444, allocations: 31.16 MB / 0.8887 GB, free: 13.25 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