Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 174.4 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.462/1.462, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0008952/0.0008953, allocations: 88.39 kB / 281.6 MB, free: 5.324 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.2007/0.2007, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.824e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1368, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6189, allocations: 104.7 MB / 0.5969 GB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.6192, allocations: 83.89 kB / 0.597 GB, free: 7.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2223/0.8415, allocations: 88.83 MB / 0.6837 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8415, allocations: 0 / 0.6837 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001666/0.8417, allocations: 83.98 kB / 0.6838 GB, free: 14.1 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: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.01631/0.858, allocations: 4.164 MB / 0.6879 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.8581, allocations: 15.98 kB / 0.6879 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.874, allocations: 3.539 MB / 0.6914 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.887, allocations: 4.491 MB / 0.6957 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.8873, allocations: 136 kB / 0.6959 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/0.8899, allocations: 251.9 kB / 0.6961 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3896/1.279, allocations: 7.554 MB / 0.7035 GB, free: 117 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/1.309, allocations: 9.922 MB / 0.7132 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/1.309, allocations: 33.31 kB / 0.7132 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/1.311, allocations: 14.38 kB / 0.7132 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002124/1.313, allocations: 1.191 MB / 0.7144 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05148/1.364, allocations: 33.98 MB / 0.7476 GB, free: 99.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/1.368, allocations: 3.903 MB / 0.7514 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/1.371, allocations: 2.04 MB / 0.7534 GB, free: 96.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008749/1.372, allocations: 1.324 MB / 0.7547 GB, free: 95.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.372, allocations: 48.34 kB / 0.7547 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=237): time 5.089e-06/1.372, allocations: 0 / 0.7547 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.02013/1.392, allocations: 9.518 MB / 0.764 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/1.392, allocations: 73.78 kB / 0.7641 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003219/1.395, allocations: 2.363 MB / 0.7664 GB, free: 91.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000439/1.395, allocations: 25.7 kB / 0.7664 GB, free: 91.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/1.397, allocations: 2.938 MB / 0.7693 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.398, allocations: 0.9202 MB / 0.7702 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/1.398, allocations: 0 / 0.7702 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003068/1.398, allocations: 0.5719 MB / 0.7707 GB, free: 88.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00253/1.401, allocations: 2.183 MB / 0.7729 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00356/1.405, allocations: 5.468 MB / 0.7782 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/1.409, allocations: 3.498 MB / 0.7816 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.045e-05/1.409, allocations: 34.88 kB / 0.7817 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01402/1.423, allocations: 7.82 MB / 0.7893 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/1.423, allocations: 56 kB / 0.7893 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.423, allocations: 116 kB / 0.7895 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/1.427, allocations: 1.065 MB / 0.7905 GB, free: 76.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/1.431, allocations: 1.373 MB / 0.7918 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.433, allocations: 2.398 MB / 0.7942 GB, free: 72.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/1.438, allocations: 203.7 kB / 0.7944 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.439, allocations: 351.6 kB / 0.7947 GB, free: 72.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 532 * Number of states: 0 () * Number of discrete variables: 26 (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.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 732 * 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.001421/1.44, allocations: 417.5 kB / 0.7951 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/1.441, allocations: 272.4 kB / 0.7954 GB, free: 71.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/1.449, allocations: 4.749 MB / 0.8 GB, free: 67.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-05/1.449, allocations: 48.83 kB / 0.8 GB, free: 67.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/1.449, allocations: 4 kB / 0.8001 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/1.449, allocations: 7.734 kB / 0.8001 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.467, allocations: 10.17 MB / 0.81 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/1.467, allocations: 8 kB / 0.81 GB, free: 59.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.469, allocations: 406.6 kB / 0.8104 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/1.472, allocations: 0.9019 MB / 0.8113 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/1.472, allocations: 35.38 kB / 0.8113 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.474, allocations: 2.19 MB / 0.8134 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.474, allocations: 11.94 kB / 0.8135 GB, free: 56.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.485, allocations: 7.805 MB / 0.8211 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000991/1.486, allocations: 328.1 kB / 0.8214 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/1.486, allocations: 16 kB / 0.8214 GB, free: 48.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.487, allocations: 105.5 kB / 0.8215 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/1.488, allocations: 157.6 kB / 0.8217 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.488, allocations: 75.5 kB / 0.8217 GB, free: 48.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002043/1.49, allocations: 1.536 MB / 0.8232 GB, free: 47.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.49, allocations: 0 / 0.8232 GB, free: 47.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004558/1.494, allocations: 0.8617 MB / 0.8241 GB, free: 46.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * 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.0005058/1.495, allocations: 166.2 kB / 0.8242 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.508, allocations: 5.775 MB / 0.8299 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/1.508, allocations: 0 / 0.8299 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005333/1.513, allocations: 2.474 MB / 0.8323 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.516, allocations: 302.4 kB / 0.8326 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02044/1.536, allocations: 9.001 MB / 0.8414 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/1.543, allocations: 3.51 MB / 0.8448 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007809/1.551, allocations: 2.142 MB / 0.8469 GB, free: 24.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/1.552, allocations: 231.4 kB / 0.8471 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/1.552, allocations: 0 / 0.8471 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.05174/1.604, allocations: 27.82 MB / 0.8743 GB, free: 13.05 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches