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.001425/0.001424, allocations: 186.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001135/0.001135, allocations: 99.19 kB / 270.9 MB, free: 8.387 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.496/0.496, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 16 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.6199, allocations: 109 MB / 0.5852 GB, free: 9.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6203, allocations: 79.97 kB / 0.5853 GB, free: 9.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025/1.645, allocations: 119 MB / 0.7015 GB, free: 86.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.838e-06/1.645, allocations: 0 / 0.7015 GB, free: 86.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006313/1.646, allocations: 122.7 kB / 0.7016 GB, free: 86.82 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.03861/1.684, allocations: 6.437 MB / 0.7079 GB, free: 84.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.684, allocations: 9.625 kB / 0.7079 GB, free: 84.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05888/1.743, allocations: 6.993 MB / 0.7148 GB, free: 83.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0285/1.772, allocations: 7.863 MB / 0.7224 GB, free: 82.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006457/1.773, allocations: 442.8 kB / 0.7229 GB, free: 82.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003477/1.776, allocations: 0.5784 MB / 0.7234 GB, free: 82.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/1.817, allocations: 13.95 MB / 0.737 GB, free: 78.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004877/1.818, allocations: 89.77 kB / 0.7371 GB, free: 78.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/1.821, allocations: 281.2 kB / 0.7374 GB, free: 78.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/1.824, allocations: 1.314 MB / 0.7387 GB, free: 77.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03507/1.859, allocations: 11.71 MB / 0.7501 GB, free: 74.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09241/1.951, allocations: 62.17 MB / 0.8108 GB, free: 28.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02348/1.975, allocations: 5.771 MB / 0.8165 GB, free: 24.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009534/1.976, allocations: 0.6884 MB / 0.8171 GB, free: 23.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/1.976, allocations: 60.5 kB / 0.8172 GB, free: 23.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=254): time 6.121e-06/1.976, allocations: 3.938 kB / 0.8172 GB, free: 23.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.1622/2.138, allocations: 34.24 MB / 0.8506 GB, free: 6.605 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/2.138, allocations: 269.3 kB / 0.8509 GB, free: 6.285 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01332/2.152, allocations: 4.694 MB / 0.8555 GB, free: 1.609 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009023/2.153, allocations: 77.7 kB / 0.8556 GB, free: 1.527 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.3663/2.519, allocations: 3.879 MB / 0.8593 GB, free: 96.76 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002273/2.521, allocations: 1.186 MB / 0.8605 GB, free: 96.2 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/2.523, allocations: 159.8 kB / 0.8607 GB, free: 96.2 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006991/2.523, allocations: 0.634 MB / 0.8613 GB, free: 95.88 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009969/2.533, allocations: 3.322 MB / 0.8645 GB, free: 95.86 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01225/2.546, allocations: 7.575 MB / 0.8719 GB, free: 90.45 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.558, allocations: 4.944 MB / 0.8767 GB, free: 90.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002132/2.559, allocations: 41.22 kB / 0.8768 GB, free: 90.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.03722/2.596, allocations: 12.42 MB / 0.8889 GB, free: 89.57 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/2.596, allocations: 67.06 kB / 0.889 GB, free: 89.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/2.596, allocations: 150.7 kB / 0.8891 GB, free: 89.57 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009369/2.606, allocations: 2.143 MB / 0.8912 GB, free: 89.55 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/2.617, allocations: 1.769 MB / 0.8929 GB, free: 89.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03215/2.65, allocations: 14.8 MB / 0.9074 GB, free: 82.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009464/2.659, allocations: 462 kB / 0.9078 GB, free: 82.19 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/2.661, allocations: 452.8 kB / 0.9083 GB, free: 82.13 MB / 0.4949 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.008664/2.67, allocations: 2.819 MB / 0.911 GB, free: 80.89 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.671, allocations: 0.4977 MB / 0.9115 GB, free: 80.62 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02048/2.692, allocations: 7.09 MB / 0.9184 GB, free: 77.89 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/2.692, allocations: 34.41 kB / 0.9185 GB, free: 77.89 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/2.692, allocations: 10.47 kB / 0.9185 GB, free: 77.89 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.428e-05/2.692, allocations: 14.39 kB / 0.9185 GB, free: 77.89 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04601/2.738, allocations: 16.08 MB / 0.9342 GB, free: 71.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/2.738, allocations: 3.938 kB / 0.9342 GB, free: 71.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004912/2.743, allocations: 0.5162 MB / 0.9347 GB, free: 71.62 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008443/2.751, allocations: 1.871 MB / 0.9365 GB, free: 71.19 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008655/2.752, allocations: 66.7 kB / 0.9366 GB, free: 71.15 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/2.781, allocations: 13.3 MB / 0.9496 GB, free: 64.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/2.781, allocations: 11.53 kB / 0.9496 GB, free: 64.41 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04199/2.823, allocations: 12.19 MB / 0.9615 GB, free: 58.54 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005539/2.829, allocations: 1.058 MB / 0.9625 GB, free: 57.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002452/2.832, allocations: 64.7 kB / 0.9626 GB, free: 57.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005997/2.838, allocations: 206.9 kB / 0.9628 GB, free: 57.86 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/2.839, allocations: 210.5 kB / 0.963 GB, free: 57.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005021/2.84, allocations: 93.55 kB / 0.9631 GB, free: 57.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008568/2.848, allocations: 3.327 MB / 0.9663 GB, free: 56.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.233e-06/2.848, allocations: 0.75 kB / 0.9663 GB, free: 56.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01106/2.859, allocations: 1.5 MB / 0.9678 GB, free: 56.53 MB / 0.4949 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.00142/2.861, allocations: 217.7 kB / 0.968 GB, free: 56.36 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02022/2.881, allocations: 8.297 MB / 0.9761 GB, free: 49.05 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/2.881, allocations: 0 / 0.9761 GB, free: 49.05 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/2.894, allocations: 3.922 MB / 0.9799 GB, free: 45.71 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00593/2.9, allocations: 0.6261 MB / 0.9806 GB, free: 45.18 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04012/2.94, allocations: 17.55 MB / 0.9977 GB, free: 29.17 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.95, allocations: 4.537 MB / 1.002 GB, free: 25.79 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/2.953, allocations: 411.5 kB / 1.003 GB, free: 25.41 MB / 0.4949 GB Notification: Performance of SimCode: time 1.102e-06/2.953, allocations: 0 / 1.003 GB, free: 25.41 MB / 0.4949 GB Notification: Performance of Templates: time 0.6219/3.575, allocations: 131.3 MB / 1.131 GB, free: 76.57 MB / 0.5105 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