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.001386/0.001386, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008679/0.0008679, allocations: 86.64 kB / 261.7 MB, free: 1.68 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.2128/0.2128, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.5262, allocations: 103.8 MB / 0.5673 GB, free: 7.883 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.5265, allocations: 80.98 kB / 0.5674 GB, free: 7.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2282/0.7547, allocations: 93.9 MB / 0.6591 GB, free: 1.895 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.7548, allocations: 0 / 0.6591 GB, free: 1.895 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001897/0.755, allocations: 88 kB / 0.6592 GB, free: 1.809 MB / 458.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.01773/0.7727, allocations: 4.497 MB / 0.6636 GB, free: 13.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.7728, allocations: 12.03 kB / 0.6636 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/0.7898, allocations: 3.597 MB / 0.6671 GB, free: 9.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.8041, allocations: 4.835 MB / 0.6718 GB, free: 4.738 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.8044, allocations: 152 kB / 0.672 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.8068, allocations: 271.9 kB / 0.6722 GB, free: 4.324 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01603/0.8228, allocations: 8.047 MB / 0.6801 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02856/0.8514, allocations: 10.58 MB / 0.6904 GB, free: 1.215 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/0.8518, allocations: 31.78 kB / 0.6905 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/0.8544, allocations: 16 kB / 0.6905 GB, free: 1.168 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002364/0.8568, allocations: 1.244 MB / 0.6917 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3784/1.235, allocations: 35.81 MB / 0.7267 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006452/1.242, allocations: 3.813 MB / 0.7304 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/1.245, allocations: 2.079 MB / 0.7324 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/1.246, allocations: 1.329 MB / 0.7337 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.246, allocations: 52.34 kB / 0.7338 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=246): time 5.17e-06/1.246, allocations: 0 / 0.7338 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=273): time 0.02348/1.27, allocations: 11.22 MB / 0.7447 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.27, allocations: 76.75 kB / 0.7448 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/1.274, allocations: 2.547 MB / 0.7473 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006873/1.275, allocations: 25.7 kB / 0.7473 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001798/1.277, allocations: 3.199 MB / 0.7504 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.278, allocations: 0.988 MB / 0.7514 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/1.279, allocations: 0 / 0.7514 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003533/1.279, allocations: 0.5822 MB / 0.752 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/1.282, allocations: 2.351 MB / 0.7543 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/1.287, allocations: 5.872 MB / 0.76 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005074/1.292, allocations: 3.759 MB / 0.7637 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-05/1.292, allocations: 40.86 kB / 0.7637 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=849) (initialization): time 0.01715/1.309, allocations: 8.381 MB / 0.7719 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.309, allocations: 62.84 kB / 0.7719 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/1.31, allocations: 127.6 kB / 0.7721 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.313, allocations: 1.077 MB / 0.7731 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005282/1.319, allocations: 1.485 MB / 0.7746 GB, free: 94.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/1.321, allocations: 2.405 MB / 0.7769 GB, free: 92.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/1.326, allocations: 218 kB / 0.7771 GB, free: 92.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.327, allocations: 384.7 kB / 0.7775 GB, free: 92.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (796): * Single equations (assignments): 787 * 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.001039/1.328, allocations: 429.5 kB / 0.7779 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/1.329, allocations: 313.3 kB / 0.7782 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008512/1.337, allocations: 5.113 MB / 0.7832 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.652e-05/1.338, allocations: 48.62 kB / 0.7832 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.338, allocations: 3.938 kB / 0.7832 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/1.338, allocations: 10.41 kB / 0.7833 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/1.357, allocations: 10.83 MB / 0.7938 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.358, allocations: 7.75 kB / 0.7938 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.36, allocations: 453.4 kB / 0.7943 GB, free: 86.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.363, allocations: 0.9048 MB / 0.7952 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/1.363, allocations: 41.45 kB / 0.7952 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/1.365, allocations: 2.202 MB / 0.7973 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.365, allocations: 10.38 kB / 0.7974 GB, free: 85.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.376, allocations: 8.329 MB / 0.8055 GB, free: 79.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009091/1.377, allocations: 339.6 kB / 0.8058 GB, free: 79.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/1.377, allocations: 23.38 kB / 0.8058 GB, free: 79.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.378, allocations: 103.2 kB / 0.8059 GB, free: 78.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/1.379, allocations: 178.6 kB / 0.8061 GB, free: 78.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.379, allocations: 82.64 kB / 0.8062 GB, free: 78.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002292/1.381, allocations: 1.668 MB / 0.8078 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.381, allocations: 0 / 0.8078 GB, free: 77.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00457/1.386, allocations: 0.9236 MB / 0.8087 GB, free: 76.44 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 (224): * Single equations (assignments): 215 * 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.0005401/1.386, allocations: 160.8 kB / 0.8089 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008771/1.395, allocations: 6.184 MB / 0.8149 GB, free: 70.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.395, allocations: 0 / 0.8149 GB, free: 70.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/1.399, allocations: 2.633 MB / 0.8175 GB, free: 68.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/1.401, allocations: 355.2 kB / 0.8178 GB, free: 68.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.415, allocations: 9.727 MB / 0.8273 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003466/1.419, allocations: 3.769 MB / 0.831 GB, free: 56.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004874/1.424, allocations: 2.292 MB / 0.8332 GB, free: 55.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007885/1.425, allocations: 265.1 kB / 0.8335 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/1.425, allocations: 0 / 0.8335 GB, free: 54.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.0536/1.478, allocations: 31.65 MB / 0.8644 GB, free: 28.11 MB / 0.4948 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