Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.044/3.044, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001254/0.001255, allocations: 91.91 kB / 271.9 MB, free: 8.281 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.7851/0.7851, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000808/0.0008083, allocations: 16 kB / 432.6 MB, free: 5.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2362, allocations: 58.85 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7514/0.9877, allocations: 104.6 MB / 0.582 GB, free: 13.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004412/0.9882, allocations: 83.95 kB / 0.5821 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.43/1.418, allocations: 90.49 MB / 0.6705 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.724e-06/1.418, allocations: 0 / 0.6705 GB, free: 2.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003721/1.419, allocations: 83.98 kB / 0.6706 GB, free: 2.465 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: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.6047/2.024, allocations: 4.292 MB / 0.6748 GB, free: 92.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.066e-05/2.024, allocations: 11.05 kB / 0.6748 GB, free: 92.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02717/2.051, allocations: 3.539 MB / 0.6782 GB, free: 91.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/2.066, allocations: 3.618 MB / 0.6818 GB, free: 91.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006313/2.066, allocations: 329.3 kB / 0.6821 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003765/2.07, allocations: 440.5 kB / 0.6825 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03934/2.11, allocations: 11.01 MB / 0.6932 GB, free: 90.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003179/2.11, allocations: 37.41 kB / 0.6933 GB, free: 90.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002783/2.113, allocations: 199.5 kB / 0.6935 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/2.115, allocations: 1.24 MB / 0.6947 GB, free: 90.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03433/2.15, allocations: 10.6 MB / 0.705 GB, free: 90.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08797/2.238, allocations: 37.4 MB / 0.7415 GB, free: 69.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/2.25, allocations: 4.394 MB / 0.7458 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/2.254, allocations: 2.148 MB / 0.7479 GB, free: 66.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/2.255, allocations: 1.325 MB / 0.7492 GB, free: 65.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/2.255, allocations: 55.09 kB / 0.7493 GB, free: 65.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 7.354e-06/2.255, allocations: 0 / 0.7493 GB, free: 65.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.05682/2.312, allocations: 13.77 MB / 0.7627 GB, free: 61.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/2.312, allocations: 79.41 kB / 0.7628 GB, free: 61.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007189/2.319, allocations: 2.834 MB / 0.7656 GB, free: 60.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000676/2.32, allocations: 63 kB / 0.7656 GB, free: 60.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002361/2.322, allocations: 2.942 MB / 0.7685 GB, free: 58.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001427/2.324, allocations: 0.9784 MB / 0.7695 GB, free: 57.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007683/2.324, allocations: 111.4 kB / 0.7696 GB, free: 57.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006774/2.325, allocations: 0.5597 MB / 0.7701 GB, free: 56.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/2.331, allocations: 2.333 MB / 0.7724 GB, free: 56.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007648/2.338, allocations: 5.512 MB / 0.7778 GB, free: 51.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/2.352, allocations: 8.632 MB / 0.7862 GB, free: 44.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002222/2.353, allocations: 35.22 kB / 0.7862 GB, free: 44.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.02408/2.377, allocations: 8.553 MB / 0.7946 GB, free: 38.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002103/2.377, allocations: 52 kB / 0.7946 GB, free: 38.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002518/2.377, allocations: 112 kB / 0.7947 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004537/2.382, allocations: 1.034 MB / 0.7958 GB, free: 37.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007145/2.389, allocations: 1.335 MB / 0.7971 GB, free: 36.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/2.392, allocations: 2.472 MB / 0.7995 GB, free: 33.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00716/2.399, allocations: 322.1 kB / 0.7998 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/2.401, allocations: 336.7 kB / 0.8001 GB, free: 33.34 MB / 490.7 MB 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 (722): * Single equations (assignments): 713 * 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.007283/2.408, allocations: 2.259 MB / 0.8023 GB, free: 31.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/2.409, allocations: 292.3 kB / 0.8026 GB, free: 31.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/2.423, allocations: 5.062 MB / 0.8075 GB, free: 26.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/2.423, allocations: 47.8 kB / 0.8076 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/2.423, allocations: 0 / 0.8076 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/2.423, allocations: 11.72 kB / 0.8076 GB, free: 26.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/2.456, allocations: 11.63 MB / 0.8189 GB, free: 17.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/2.456, allocations: 6.625 kB / 0.8189 GB, free: 17.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/2.459, allocations: 427 kB / 0.8194 GB, free: 16.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004448/2.463, allocations: 0.9098 MB / 0.8202 GB, free: 16.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/2.464, allocations: 58.17 kB / 0.8203 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/2.467, allocations: 2.284 MB / 0.8225 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/2.467, allocations: 8 kB / 0.8225 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/2.484, allocations: 7.514 MB / 0.8299 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/2.486, allocations: 328.7 kB / 0.8302 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/2.487, allocations: 48 kB / 0.8302 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/2.49, allocations: 142.9 kB / 0.8304 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006935/2.49, allocations: 166.4 kB / 0.8305 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003994/2.491, allocations: 74.06 kB / 0.8306 GB, free: 6.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004922/2.496, allocations: 1.725 MB / 0.8323 GB, free: 5.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/2.496, allocations: 0 / 0.8323 GB, free: 5.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008688/2.504, allocations: 1.016 MB / 0.8333 GB, free: 4.367 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.001142/2.506, allocations: 199.8 kB / 0.8335 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0155/2.521, allocations: 6.16 MB / 0.8395 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/2.521, allocations: 0 / 0.8395 GB, free: 14.05 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007574/2.529, allocations: 2.598 MB / 0.842 GB, free: 11.41 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009246/2.538, allocations: 420.2 kB / 0.8424 GB, free: 11.01 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04132/2.579, allocations: 13.55 MB / 0.8557 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/2.59, allocations: 3.516 MB / 0.8591 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/2.592, allocations: 295.4 kB / 0.8594 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of SimCode: time 4.819e-06/2.592, allocations: 0 / 0.8594 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.5948/3.187, allocations: 120 MB / 0.9766 GB, free: 72.52 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit/FreeMotionScalarInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches