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.001194/0.001194, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.723/1.723, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008425/0.0008425, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2206/0.2206, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 11.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.5952, allocations: 104.6 MB / 0.5809 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5956, allocations: 84.89 kB / 0.581 GB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2406/0.8362, allocations: 95.57 MB / 0.6743 GB, free: 3.609 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.8363, allocations: 0 / 0.6743 GB, free: 3.609 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002389/0.8365, allocations: 88 kB / 0.6744 GB, free: 3.523 MB / 474.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.01778/0.8543, allocations: 4.668 MB / 0.6789 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.8544, allocations: 8.031 kB / 0.6789 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/0.8693, allocations: 3.597 MB / 0.6825 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.884, allocations: 4.854 MB / 0.6872 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000541/0.8846, allocations: 361.3 kB / 0.6875 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002608/0.8872, allocations: 471.8 kB / 0.688 GB, free: 5.441 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/0.9111, allocations: 11.48 MB / 0.6992 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/0.9114, allocations: 35.61 kB / 0.6992 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/0.9125, allocations: 211.9 kB / 0.6994 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.9142, allocations: 1.244 MB / 0.7006 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2166/1.131, allocations: 10.96 MB / 0.7114 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05139/1.182, allocations: 38.55 MB / 0.749 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006256/1.189, allocations: 4.392 MB / 0.7533 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008169/1.189, allocations: 1.326 MB / 0.7546 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.189, allocations: 56.8 kB / 0.7546 GB, free: 101 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 4.799e-06/1.189, allocations: 1.031 kB / 0.7546 GB, free: 101 MB / 0.4948 GB Notification: Performance of matching and sorting (n=265): time 0.03398/1.223, allocations: 14.3 MB / 0.7686 GB, free: 96.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.223, allocations: 71.12 kB / 0.7687 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/1.227, allocations: 2.663 MB / 0.7713 GB, free: 95.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003544/1.227, allocations: 63.45 kB / 0.7713 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.228, allocations: 3.112 MB / 0.7744 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007432/1.229, allocations: 0.9764 MB / 0.7753 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/1.229, allocations: 118.7 kB / 0.7754 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002647/1.23, allocations: 0.5689 MB / 0.776 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/1.232, allocations: 2.368 MB / 0.7783 GB, free: 91.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004066/1.236, allocations: 5.657 MB / 0.7838 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/1.241, allocations: 3.664 MB / 0.7874 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.681e-05/1.241, allocations: 34.84 kB / 0.7874 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=796) (initialization): time 0.01462/1.256, allocations: 8.744 MB / 0.796 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/1.256, allocations: 57.88 kB / 0.796 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.256, allocations: 115 kB / 0.7961 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003275/1.259, allocations: 1.059 MB / 0.7972 GB, free: 82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/1.264, allocations: 1.375 MB / 0.7985 GB, free: 81.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/1.267, allocations: 2.495 MB / 0.801 GB, free: 80.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/1.271, allocations: 322.4 kB / 0.8013 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000951/1.272, allocations: 351.2 kB / 0.8016 GB, free: 80.15 MB / 0.4948 GB 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.004381/1.277, allocations: 2.375 MB / 0.8039 GB, free: 79.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/1.277, allocations: 298.4 kB / 0.8042 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007662/1.285, allocations: 5.084 MB / 0.8092 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/1.285, allocations: 48.89 kB / 0.8092 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.285, allocations: 0 / 0.8092 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/1.285, allocations: 10.92 kB / 0.8092 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02367/1.309, allocations: 11.83 MB / 0.8208 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.309, allocations: 4 kB / 0.8208 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.311, allocations: 429.1 kB / 0.8212 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002996/1.314, allocations: 0.9043 MB / 0.8221 GB, free: 65.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/1.314, allocations: 61.94 kB / 0.8221 GB, free: 65.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/1.316, allocations: 2.309 MB / 0.8244 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.316, allocations: 11.94 kB / 0.8244 GB, free: 62.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.327, allocations: 8.208 MB / 0.8324 GB, free: 55.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009792/1.328, allocations: 340.7 kB / 0.8327 GB, free: 54.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007176/1.329, allocations: 52 kB / 0.8328 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.331, allocations: 139.4 kB / 0.8329 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.331, allocations: 162.9 kB / 0.8331 GB, free: 54.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.331, allocations: 77.33 kB / 0.8332 GB, free: 54.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003202/1.335, allocations: 1.821 MB / 0.8349 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/1.335, allocations: 0 / 0.8349 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005247/1.34, allocations: 1.053 MB / 0.836 GB, free: 52.14 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.0006391/1.341, allocations: 201.1 kB / 0.8361 GB, free: 51.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.351, allocations: 6.22 MB / 0.8422 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/1.351, allocations: 4.125 kB / 0.8422 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004753/1.356, allocations: 2.593 MB / 0.8448 GB, free: 44.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003004/1.359, allocations: 466.6 kB / 0.8452 GB, free: 43.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.381, allocations: 13.52 MB / 0.8584 GB, free: 30.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005364/1.387, allocations: 3.766 MB / 0.8621 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005607/1.392, allocations: 2.149 MB / 0.8642 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009324/1.393, allocations: 243.4 kB / 0.8644 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of SimCode: time 1.614e-06/1.393, allocations: 4 kB / 0.8644 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.05938/1.453, allocations: 33.52 MB / 0.8972 GB, free: 7.426 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/jenkins/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