Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.33/1.33, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007068/0.000707, allocations: 82.11 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.4459/0.4459, allocations: 43.56 MB / 363.8 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003348, allocations: 12 kB / 432.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1038, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4213, allocations: 109.2 MB / 0.5866 GB, free: 9.047 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4215, allocations: 79.95 kB / 0.5867 GB, free: 8.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4865/0.908, allocations: 117 MB / 0.7009 GB, free: 86.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.9081, allocations: 0 / 0.7009 GB, free: 86.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004575/0.9085, allocations: 114.2 kB / 0.701 GB, free: 86.29 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: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.02068/0.9292, allocations: 6.147 MB / 0.707 GB, free: 83.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.9293, allocations: 12.7 kB / 0.7071 GB, free: 83.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/0.9501, allocations: 5.328 MB / 0.7123 GB, free: 83.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.965, allocations: 6.578 MB / 0.7187 GB, free: 82.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005626/0.9656, allocations: 446.9 kB / 0.7191 GB, free: 82.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/0.9684, allocations: 0.5822 MB / 0.7197 GB, free: 82.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.9975, allocations: 13.83 MB / 0.7332 GB, free: 78.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004432/0.998, allocations: 80.48 kB / 0.7333 GB, free: 78.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002216/1, allocations: 288 kB / 0.7335 GB, free: 78.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001633/1.002, allocations: 1.322 MB / 0.7348 GB, free: 77.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/1.022, allocations: 11.54 MB / 0.7461 GB, free: 74.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05682/1.079, allocations: 62.13 MB / 0.8068 GB, free: 28.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/1.091, allocations: 5.608 MB / 0.8122 GB, free: 26.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/1.094, allocations: 3.317 MB / 0.8155 GB, free: 24.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/1.095, allocations: 0.685 MB / 0.8162 GB, free: 24.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/1.095, allocations: 68.5 kB / 0.8162 GB, free: 24.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=254): time 5.12e-06/1.095, allocations: 0 / 0.8162 GB, free: 24.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.08078/1.176, allocations: 33.4 MB / 0.8488 GB, free: 9.133 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.176, allocations: 265.4 kB / 0.8491 GB, free: 8.816 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/1.184, allocations: 5.28 MB / 0.8542 GB, free: 3.555 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.000742/1.185, allocations: 73.7 kB / 0.8543 GB, free: 3.477 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003128/1.188, allocations: 4.059 MB / 0.8583 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.19, allocations: 1.187 MB / 0.8594 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/1.19, allocations: 152 kB / 0.8596 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004572/1.19, allocations: 0.6325 MB / 0.8602 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005157/1.196, allocations: 3.322 MB / 0.8634 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00855/1.204, allocations: 7.604 MB / 0.8709 GB, free: 448 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2284/1.433, allocations: 11.84 MB / 0.8824 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-05/1.433, allocations: 43.66 kB / 0.8825 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02049/1.453, allocations: 12.64 MB / 0.8948 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/1.453, allocations: 69.06 kB / 0.8949 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/1.453, allocations: 147.9 kB / 0.895 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/1.458, allocations: 2.119 MB / 0.8971 GB, free: 99.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/1.464, allocations: 1.765 MB / 0.8988 GB, free: 99.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/1.48, allocations: 14.35 MB / 0.9128 GB, free: 94.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.486, allocations: 454.8 kB / 0.9133 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.488, allocations: 461.5 kB / 0.9137 GB, free: 94.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (931): * Single equations (assignments): 926 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00543/1.493, allocations: 2.819 MB / 0.9165 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.494, allocations: 0.4916 MB / 0.9169 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.507, allocations: 7.086 MB / 0.9239 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.943e-05/1.507, allocations: 37.03 kB / 0.9239 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/1.507, allocations: 9 kB / 0.9239 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-05/1.507, allocations: 17.72 kB / 0.9239 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02441/1.531, allocations: 16.09 MB / 0.9396 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.531, allocations: 7.844 kB / 0.9396 GB, free: 84.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.534, allocations: 0.5099 MB / 0.9401 GB, free: 84.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004043/1.538, allocations: 1.871 MB / 0.942 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.538, allocations: 65.41 kB / 0.942 GB, free: 84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/1.552, allocations: 12.86 MB / 0.9546 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.552, allocations: 11.47 kB / 0.9546 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/1.567, allocations: 11.3 MB / 0.9656 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/1.569, allocations: 1.052 MB / 0.9667 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005972/1.57, allocations: 69.78 kB / 0.9667 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.572, allocations: 219.2 kB / 0.9669 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/1.572, allocations: 199.2 kB / 0.9671 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.573, allocations: 96.12 kB / 0.9672 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004706/1.577, allocations: 3.329 MB / 0.9705 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.61e-07/1.577, allocations: 3.906 kB / 0.9705 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006177/1.584, allocations: 1.497 MB / 0.9719 GB, free: 70.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (259): * Single equations (assignments): 254 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005352/1.584, allocations: 216.3 kB / 0.9721 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.595, allocations: 8.297 MB / 0.9802 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.595, allocations: 0 / 0.9802 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006239/1.601, allocations: 3.918 MB / 0.9841 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008349/1.609, allocations: 0.667 MB / 0.9847 GB, free: 63.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/1.632, allocations: 17.62 MB / 1.002 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004659/1.637, allocations: 4.407 MB / 1.006 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.638, allocations: 408.4 kB / 1.007 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/1.638, allocations: 0 / 1.007 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.3991/2.037, allocations: 136.8 MB / 1.14 GB, free: 82.72 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches