Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.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.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001477, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.95/1.95, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 90.39 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3546/0.3546, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.17e-05/2.164e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4614, allocations: 58.86 MB / 477.1 MB, free: 5.242 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.6562, allocations: 104.3 MB / 0.5678 GB, free: 10.92 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.6565, allocations: 79.95 kB / 0.5679 GB, free: 10.84 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086/1.743, allocations: 162.5 MB / 0.7266 GB, free: 80.91 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.265e-06/1.743, allocations: 3.938 kB / 0.7266 GB, free: 80.91 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004299/1.743, allocations: 159.5 kB / 0.7268 GB, free: 80.76 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02924/1.773, allocations: 7.975 MB / 0.7345 GB, free: 72.71 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.773, allocations: 8.031 kB / 0.7346 GB, free: 72.71 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03062/1.803, allocations: 3.686 MB / 0.7382 GB, free: 69 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03177/1.835, allocations: 9.686 MB / 0.7476 GB, free: 59.33 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005649/1.836, allocations: 272 kB / 0.7479 GB, free: 59.06 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004414/1.84, allocations: 0.4891 MB / 0.7484 GB, free: 58.57 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02891/1.869, allocations: 11.61 MB / 0.7597 GB, free: 46.96 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/1.914, allocations: 16.98 MB / 0.7763 GB, free: 28.46 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005109/1.915, allocations: 87.22 kB / 0.7764 GB, free: 28.38 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004076/1.919, allocations: 48 kB / 0.7764 GB, free: 28.33 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004797/1.924, allocations: 1.876 MB / 0.7782 GB, free: 26.45 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9134/2.837, allocations: 82.21 MB / 0.8585 GB, free: 62.34 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/2.845, allocations: 3.06 MB / 0.8615 GB, free: 61.68 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004062/2.849, allocations: 1.497 MB / 0.863 GB, free: 61.64 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/2.85, allocations: 47.47 kB / 0.863 GB, free: 61.64 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/2.85, allocations: 62.41 kB / 0.8631 GB, free: 61.6 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=244): time 6.693e-06/2.85, allocations: 0 / 0.8631 GB, free: 61.6 MB / 0.4953 GB Notification: Performance of matching and sorting (n=256): time 0.04547/2.895, allocations: 11.81 MB / 0.8746 GB, free: 56.98 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/2.895, allocations: 153.1 kB / 0.8747 GB, free: 56.82 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/2.909, allocations: 5.185 MB / 0.8798 GB, free: 56.32 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0006077/2.91, allocations: 28.52 kB / 0.8798 GB, free: 56.29 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.005239/2.915, allocations: 5.75 MB / 0.8855 GB, free: 52.97 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/2.917, allocations: 0.9727 MB / 0.8864 GB, free: 52.42 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/2.918, allocations: 0 / 0.8864 GB, free: 52.42 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.0008043/2.919, allocations: 0.7102 MB / 0.8871 GB, free: 52.09 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006352/2.925, allocations: 2.371 MB / 0.8894 GB, free: 52.07 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/2.936, allocations: 8.389 MB / 0.8976 GB, free: 44.21 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/2.946, allocations: 4.389 MB / 0.9019 GB, free: 44.17 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002931/2.946, allocations: 62.72 kB / 0.9019 GB, free: 44.17 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.02584/2.972, allocations: 9.223 MB / 0.911 GB, free: 42.54 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/2.972, allocations: 101 kB / 0.911 GB, free: 42.54 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/2.973, allocations: 219.6 kB / 0.9113 GB, free: 42.54 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/2.973, allocations: 314.3 kB / 0.9116 GB, free: 42.54 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.987, allocations: 2.33 MB / 0.9138 GB, free: 42.25 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004223/2.988, allocations: 422.6 kB / 0.9142 GB, free: 42.16 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/3, allocations: 467 kB / 0.9147 GB, free: 42.14 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/3.002, allocations: 0.5834 MB / 0.9153 GB, free: 42.06 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 991 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1213): * Single equations (assignments): 1210 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00361/3.006, allocations: 0.6321 MB / 0.9159 GB, free: 41.55 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/3.007, allocations: 0.5431 MB / 0.9164 GB, free: 41.25 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007132/3.015, allocations: 2.586 MB / 0.9189 GB, free: 40.27 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.134e-05/3.015, allocations: 29.91 kB / 0.919 GB, free: 40.27 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/3.015, allocations: 3.938 kB / 0.919 GB, free: 40.27 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-05/3.015, allocations: 10.92 kB / 0.919 GB, free: 40.27 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04943/3.064, allocations: 21.2 MB / 0.9397 GB, free: 30.18 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.442e-05/3.064, allocations: 60.03 kB / 0.9397 GB, free: 30.12 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003543/3.068, allocations: 0.5631 MB / 0.9403 GB, free: 29.62 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-05/3.068, allocations: 84 kB / 0.9404 GB, free: 29.54 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/3.068, allocations: 83.61 kB / 0.9404 GB, free: 29.46 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.971e-05/3.068, allocations: 109.3 kB / 0.9405 GB, free: 29.37 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-05/3.069, allocations: 87.62 kB / 0.9406 GB, free: 29.29 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/3.079, allocations: 14.83 MB / 0.9551 GB, free: 12 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/3.082, allocations: 0.6544 MB / 0.9557 GB, free: 11.34 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/3.083, allocations: 90.11 kB / 0.9558 GB, free: 11.27 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00522/3.089, allocations: 157.5 kB / 0.956 GB, free: 11.15 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000834/3.089, allocations: 387.5 kB / 0.9564 GB, free: 10.84 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/3.09, allocations: 164.2 kB / 0.9565 GB, free: 10.69 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.00812/3.098, allocations: 3.476 MB / 0.9599 GB, free: 7.684 MB / 0.4953 GB Notification: Performance of sort global known variables: time 8.02e-07/3.098, allocations: 0 / 0.9599 GB, free: 7.684 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.01238/3.11, allocations: 1.321 MB / 0.9612 GB, free: 6.367 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/3.111, allocations: 249.4 kB / 0.9614 GB, free: 6.121 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.01172/3.123, allocations: 5.577 MB / 0.9669 GB, free: 1.07 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-05/3.123, allocations: 12.19 kB / 0.9669 GB, free: 1.059 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.003891/3.127, allocations: 1.452 MB / 0.9683 GB, free: 15.93 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007098/3.134, allocations: 0.7401 MB / 0.969 GB, free: 15.31 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04553/3.18, allocations: 15.3 MB / 0.984 GB, free: 0.7969 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01578/3.196, allocations: 5.933 MB / 0.9898 GB, free: 12.46 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/3.198, allocations: 469.9 kB / 0.9902 GB, free: 12.02 MB / 0.5265 GB Notification: Performance of SimCode: time 1.172e-06/3.198, allocations: 0 / 0.9902 GB, free: 12.02 MB / 0.5265 GB Notification: Performance of Templates: time 0.6019/3.8, allocations: 91.67 MB / 1.08 GB, free: 123.7 MB / 0.5578 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches