Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 171.9 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.421/1.421, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.000828/0.000828, allocations: 85.03 kB / 271.3 MB, free: 8.242 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.3376/0.3376, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4482, allocations: 104.7 MB / 0.5822 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4485, allocations: 79.97 kB / 0.5823 GB, free: 13.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4694/0.9179, allocations: 94.52 MB / 0.6746 GB, free: 91.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.918, allocations: 2.125 kB / 0.6746 GB, free: 91.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002218/0.9182, allocations: 87.61 kB / 0.6747 GB, free: 91.07 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01932/0.9375, allocations: 4.553 MB / 0.6791 GB, free: 90.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.9376, allocations: 9.094 kB / 0.6791 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/0.9526, allocations: 3.569 MB / 0.6826 GB, free: 89.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.9628, allocations: 3.764 MB / 0.6863 GB, free: 89.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004448/0.9633, allocations: 362.7 kB / 0.6866 GB, free: 89.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002308/0.9656, allocations: 468.2 kB / 0.6871 GB, free: 89.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.9871, allocations: 11.44 MB / 0.6983 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.9873, allocations: 37.64 kB / 0.6983 GB, free: 87.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007257/0.988, allocations: 213.6 kB / 0.6985 GB, free: 87.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001401/0.9894, allocations: 1.242 MB / 0.6997 GB, free: 87.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/1.01, allocations: 10.89 MB / 0.7104 GB, free: 87.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05848/1.069, allocations: 38.53 MB / 0.748 GB, free: 66.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/1.076, allocations: 4.386 MB / 0.7523 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/1.078, allocations: 2.167 MB / 0.7544 GB, free: 63.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009479/1.079, allocations: 1.318 MB / 0.7557 GB, free: 62.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.079, allocations: 55.19 kB / 0.7557 GB, free: 62.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 7.343e-06/1.079, allocations: 1.031 kB / 0.7557 GB, free: 62.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.03487/1.114, allocations: 13.78 MB / 0.7692 GB, free: 58.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/1.114, allocations: 80.06 kB / 0.7693 GB, free: 58.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005092/1.119, allocations: 2.993 MB / 0.7722 GB, free: 57.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002551/1.12, allocations: 60.45 kB / 0.7722 GB, free: 57.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001627/1.121, allocations: 3.107 MB / 0.7753 GB, free: 54.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008809/1.122, allocations: 0.9825 MB / 0.7762 GB, free: 53.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/1.123, allocations: 120.3 kB / 0.7763 GB, free: 53.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004377/1.123, allocations: 0.5593 MB / 0.7769 GB, free: 53.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.127, allocations: 2.37 MB / 0.7792 GB, free: 52.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005228/1.132, allocations: 5.676 MB / 0.7847 GB, free: 47.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009775/1.142, allocations: 8.847 MB / 0.7934 GB, free: 40.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.142, allocations: 36 kB / 0.7934 GB, free: 39.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=796) (initialization): time 0.01416/1.156, allocations: 8.742 MB / 0.802 GB, free: 32.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.156, allocations: 52 kB / 0.802 GB, free: 32.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001874/1.156, allocations: 116 kB / 0.8021 GB, free: 32.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.159, allocations: 1.047 MB / 0.8031 GB, free: 31.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/1.164, allocations: 1.375 MB / 0.8045 GB, free: 30.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.166, allocations: 2.472 MB / 0.8069 GB, free: 28.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/1.17, allocations: 321.5 kB / 0.8072 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007367/1.17, allocations: 351.5 kB / 0.8075 GB, free: 27.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 27 (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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (743): * 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): 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.004325/1.175, allocations: 2.375 MB / 0.8099 GB, free: 25.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/1.175, allocations: 308 kB / 0.8102 GB, free: 25.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008561/1.184, allocations: 5.078 MB / 0.8151 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/1.184, allocations: 49.97 kB / 0.8152 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/1.184, allocations: 0 / 0.8152 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.184, allocations: 9.797 kB / 0.8152 GB, free: 20.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.209, allocations: 11.81 MB / 0.8267 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-05/1.209, allocations: 8 kB / 0.8267 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/1.211, allocations: 427.4 kB / 0.8271 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/1.214, allocations: 0.9146 MB / 0.828 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/1.214, allocations: 62.61 kB / 0.8281 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.217, allocations: 2.263 MB / 0.8303 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.217, allocations: 11.94 kB / 0.8303 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/1.227, allocations: 7.529 MB / 0.8376 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.228, allocations: 341.1 kB / 0.838 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006688/1.229, allocations: 52.11 kB / 0.838 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.23, allocations: 142.5 kB / 0.8382 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.23, allocations: 161.5 kB / 0.8383 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.231, allocations: 80.72 kB / 0.8384 GB, free: 348 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002912/1.234, allocations: 1.817 MB / 0.8402 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.234, allocations: 0 / 0.8402 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005103/1.239, allocations: 1.05 MB / 0.8412 GB, free: 13.48 MB / 0.4948 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 () * 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.0005243/1.239, allocations: 207.5 kB / 0.8414 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.25, allocations: 6.218 MB / 0.8475 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.25, allocations: 4 kB / 0.8475 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004573/1.255, allocations: 2.597 MB / 0.85 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/1.26, allocations: 491.2 kB / 0.8505 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/1.283, allocations: 13.57 MB / 0.8637 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00454/1.287, allocations: 3.665 MB / 0.8673 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005499/1.293, allocations: 2.145 MB / 0.8694 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007605/1.294, allocations: 251.4 kB / 0.8696 GB, free: 252 kB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/1.294, allocations: 0 / 0.8696 GB, free: 252 kB / 0.5105 GB Notification: Performance of Templates: time 0.3484/1.642, allocations: 33.67 MB / 0.9025 GB, free: 105.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit5/FreeMotionScalarInit5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches