Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002094/0.002099, allocations: 179.2 kB / 8.363 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 2.002/2.002, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001106/0.001105, allocations: 97.77 kB / 262.1 MB, free: 13.87 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.3731/0.3731, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.723e-05, allocations: 4 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3976, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5962, allocations: 106.9 MB / 0.5703 GB, free: 8.383 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.5966, allocations: 75.97 kB / 0.5704 GB, free: 8.309 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8557/1.452, allocations: 129.6 MB / 0.6969 GB, free: 102.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.284e-06/1.452, allocations: 3.938 kB / 0.6969 GB, free: 102.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004469/1.453, allocations: 130.1 kB / 0.697 GB, free: 102.1 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02751/1.48, allocations: 6.671 MB / 0.7035 GB, free: 98.4 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.48, allocations: 7.281 kB / 0.7035 GB, free: 98.4 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05245/1.533, allocations: 7.148 MB / 0.7105 GB, free: 94.77 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02731/1.56, allocations: 7.447 MB / 0.7178 GB, free: 89.77 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/1.561, allocations: 216 kB / 0.718 GB, free: 89.56 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/1.564, allocations: 399.9 kB / 0.7184 GB, free: 89.17 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02417/1.589, allocations: 9.266 MB / 0.7274 GB, free: 79.91 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03715/1.626, allocations: 14.34 MB / 0.7414 GB, free: 64.1 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005048/1.626, allocations: 91.12 kB / 0.7415 GB, free: 64.01 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003375/1.63, allocations: 48 kB / 0.7416 GB, free: 63.96 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003478/1.633, allocations: 1.556 MB / 0.7431 GB, free: 62.41 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1062/1.74, allocations: 69.79 MB / 0.8112 GB, free: 6.984 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.751, allocations: 5.203 MB / 0.8163 GB, free: 1.625 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007784/1.759, allocations: 3.503 MB / 0.8197 GB, free: 14.11 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.76, allocations: 394.6 kB / 0.8201 GB, free: 13.69 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/1.76, allocations: 69.11 kB / 0.8202 GB, free: 13.61 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=268): time 6.572e-06/1.76, allocations: 0 / 0.8202 GB, free: 13.61 MB / 0.4952 GB Notification: Performance of matching and sorting (n=312): time 0.4884/2.248, allocations: 27.54 MB / 0.8471 GB, free: 118.9 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/2.249, allocations: 241.9 kB / 0.8473 GB, free: 118.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01495/2.264, allocations: 4.789 MB / 0.852 GB, free: 118.2 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0009044/2.264, allocations: 27.08 kB / 0.852 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004798/2.269, allocations: 4.812 MB / 0.8567 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002149/2.271, allocations: 1.153 MB / 0.8578 GB, free: 114.6 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/2.273, allocations: 1.375 kB / 0.8578 GB, free: 114.6 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0006037/2.273, allocations: 0.706 MB / 0.8585 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008888/2.282, allocations: 3.422 MB / 0.8619 GB, free: 114.2 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/2.294, allocations: 8.88 MB / 0.8705 GB, free: 107.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/2.306, allocations: 5.432 MB / 0.8758 GB, free: 105.7 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000169/2.306, allocations: 55.47 kB / 0.8759 GB, free: 105.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.03328/2.339, allocations: 12.4 MB / 0.888 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/2.339, allocations: 87.72 kB / 0.8881 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002395/2.34, allocations: 199.7 kB / 0.8883 GB, free: 101.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006616/2.346, allocations: 1.719 MB / 0.89 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01356/2.36, allocations: 2.217 MB / 0.8921 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/2.38, allocations: 10.73 MB / 0.9026 GB, free: 95.63 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.391, allocations: 372.4 kB / 0.903 GB, free: 95.61 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/2.393, allocations: 0.555 MB / 0.9035 GB, free: 95.53 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 889 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1151): * Single equations (assignments): 1146 * 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 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001841/2.395, allocations: 0.5963 MB / 0.9041 GB, free: 95.05 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/2.397, allocations: 0.5167 MB / 0.9046 GB, free: 94.76 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/2.414, allocations: 6.505 MB / 0.9109 GB, free: 92.48 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/2.414, allocations: 34.8 kB / 0.911 GB, free: 92.48 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.88e-05/2.414, allocations: 7.812 kB / 0.911 GB, free: 92.48 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.727e-05/2.414, allocations: 15.98 kB / 0.911 GB, free: 92.48 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06215/2.477, allocations: 13.74 MB / 0.9244 GB, free: 83.91 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.223e-05/2.477, allocations: 2.438 kB / 0.9244 GB, free: 83.91 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009041/2.486, allocations: 0.547 MB / 0.9249 GB, free: 83.48 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006758/2.493, allocations: 1.404 MB / 0.9263 GB, free: 82.5 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009753/2.494, allocations: 15.14 kB / 0.9263 GB, free: 82.49 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/2.514, allocations: 9.882 MB / 0.936 GB, free: 73.66 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/2.514, allocations: 7.938 kB / 0.936 GB, free: 73.66 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/2.542, allocations: 10.94 MB / 0.9467 GB, free: 64 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004789/2.546, allocations: 1.035 MB / 0.9477 GB, free: 63.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002515/2.549, allocations: 7.375 kB / 0.9477 GB, free: 63.03 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005906/2.555, allocations: 160.9 kB / 0.9478 GB, free: 62.95 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/2.556, allocations: 190.6 kB / 0.948 GB, free: 62.82 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004533/2.557, allocations: 79.02 kB / 0.9481 GB, free: 62.75 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008558/2.565, allocations: 3.23 MB / 0.9512 GB, free: 59.97 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.062e-06/2.565, allocations: 0 / 0.9512 GB, free: 59.97 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01294/2.578, allocations: 1.419 MB / 0.9526 GB, free: 58.55 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 248 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/2.58, allocations: 165.5 kB / 0.9528 GB, free: 58.4 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.02064/2.6, allocations: 8.605 MB / 0.9612 GB, free: 50.66 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/2.6, allocations: 4 kB / 0.9612 GB, free: 50.66 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.009052/2.61, allocations: 3.311 MB / 0.9644 GB, free: 47.71 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/2.615, allocations: 0.5336 MB / 0.965 GB, free: 47.26 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/2.653, allocations: 13.71 MB / 0.9783 GB, free: 35 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.665, allocations: 5.05 MB / 0.9833 GB, free: 29.95 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003123/2.668, allocations: 443.3 kB / 0.9837 GB, free: 29.52 MB / 0.4952 GB Notification: Performance of SimCode: time 1.733e-06/2.668, allocations: 0 / 0.9837 GB, free: 29.52 MB / 0.4952 GB Notification: Performance of Templates: time 0.6532/3.322, allocations: 142.6 MB / 1.123 GB, free: 66.69 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches