Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002026/0.00203, allocations: 179.4 kB / 8.364 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.145/2.145, 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.001946/0.001946, allocations: 90.61 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.3987/0.3987, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.324e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4318, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.6347, allocations: 106.9 MB / 0.5703 GB, free: 8.355 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.6351, allocations: 75.97 kB / 0.5704 GB, free: 8.281 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8529/1.488, allocations: 126.5 MB / 0.6939 GB, free: 103.3 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.295e-06/1.488, allocations: 3.906 kB / 0.6939 GB, free: 103.3 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004559/1.488, allocations: 130.7 kB / 0.694 GB, free: 103.3 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02787/1.516, allocations: 6.55 MB / 0.7004 GB, free: 100.1 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.516, allocations: 7.688 kB / 0.7005 GB, free: 100.1 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05172/1.568, allocations: 7.128 MB / 0.7074 GB, free: 96.71 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02763/1.596, allocations: 7.391 MB / 0.7146 GB, free: 92.65 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/1.596, allocations: 212.6 kB / 0.7148 GB, free: 92.65 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/1.6, allocations: 391.9 kB / 0.7152 GB, free: 92.42 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02324/1.623, allocations: 9.16 MB / 0.7242 GB, free: 83.26 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/1.661, allocations: 14.11 MB / 0.7379 GB, free: 67.71 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005145/1.662, allocations: 87.2 kB / 0.738 GB, free: 67.63 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003316/1.665, allocations: 44 kB / 0.7381 GB, free: 67.59 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003508/1.669, allocations: 1.553 MB / 0.7396 GB, free: 66.04 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/1.779, allocations: 69.17 MB / 0.8071 GB, free: 11.27 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/1.791, allocations: 5.36 MB / 0.8124 GB, free: 5.766 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007939/1.798, allocations: 3.639 MB / 0.8159 GB, free: 2.109 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.8, allocations: 386.1 kB / 0.8163 GB, free: 1.695 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.215e-05/1.8, allocations: 69.19 kB / 0.8163 GB, free: 1.621 MB / 491.1 MB Notification: Performance of pre-optimization done (n=272): time 7.634e-06/1.8, allocations: 0 / 0.8163 GB, free: 1.621 MB / 491.1 MB Notification: Performance of matching and sorting (n=316): time 0.4741/2.274, allocations: 28.9 MB / 0.8446 GB, free: 120.6 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/2.274, allocations: 237.7 kB / 0.8448 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01627/2.29, allocations: 4.678 MB / 0.8494 GB, free: 119.9 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/2.291, allocations: 27.05 kB / 0.8494 GB, free: 119.9 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.00525/2.297, allocations: 4.662 MB / 0.8539 GB, free: 117.1 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002529/2.299, allocations: 1.161 MB / 0.8551 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002003/2.301, allocations: 1.281 kB / 0.8551 GB, free: 116.4 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001257/2.303, allocations: 0.7009 MB / 0.8558 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01038/2.313, allocations: 3.398 MB / 0.8591 GB, free: 116.1 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.326, allocations: 8.668 MB / 0.8675 GB, free: 109.3 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/2.339, allocations: 5.356 MB / 0.8728 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002389/2.339, allocations: 53.84 kB / 0.8728 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03523/2.374, allocations: 12.21 MB / 0.8848 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/2.374, allocations: 85.97 kB / 0.8848 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000308/2.375, allocations: 188.8 kB / 0.885 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006972/2.382, allocations: 1.698 MB / 0.8867 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/2.396, allocations: 2.181 MB / 0.8888 GB, free: 103.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/2.417, allocations: 10.62 MB / 0.8992 GB, free: 98.23 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.428, allocations: 362.8 kB / 0.8995 GB, free: 98.21 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/2.431, allocations: 0.5387 MB / 0.9 GB, free: 98.14 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 857 * 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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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 (1125): * Single equations (assignments): 1120 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004094/2.435, allocations: 0.5861 MB / 0.9006 GB, free: 97.66 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/2.437, allocations: 0.5036 MB / 0.9011 GB, free: 97.38 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/2.458, allocations: 6.541 MB / 0.9075 GB, free: 95.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.225e-05/2.458, allocations: 32.41 kB / 0.9075 GB, free: 95.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/2.458, allocations: 15.7 kB / 0.9075 GB, free: 95.09 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.22e-05/2.458, allocations: 14.16 kB / 0.9076 GB, free: 95.09 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04372/2.502, allocations: 13.78 MB / 0.921 GB, free: 88.21 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/2.502, allocations: 0 / 0.921 GB, free: 88.21 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005836/2.508, allocations: 0.5648 MB / 0.9216 GB, free: 87.77 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006336/2.514, allocations: 1.392 MB / 0.9229 GB, free: 86.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009023/2.515, allocations: 8 kB / 0.9229 GB, free: 86.79 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/2.534, allocations: 9.773 MB / 0.9325 GB, free: 78.05 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/2.534, allocations: 7.938 kB / 0.9325 GB, free: 78.04 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0259/2.56, allocations: 11 MB / 0.9432 GB, free: 68.38 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004551/2.565, allocations: 1.044 MB / 0.9442 GB, free: 67.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/2.567, allocations: 12 kB / 0.9443 GB, free: 67.39 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005776/2.573, allocations: 170.3 kB / 0.9444 GB, free: 67.31 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/2.574, allocations: 180.9 kB / 0.9446 GB, free: 67.19 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004101/2.575, allocations: 80.78 kB / 0.9447 GB, free: 67.12 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008227/2.583, allocations: 3.157 MB / 0.9478 GB, free: 64.39 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.72e-07/2.583, allocations: 4 kB / 0.9478 GB, free: 64.39 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01262/2.595, allocations: 1.414 MB / 0.9491 GB, free: 62.98 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 (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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/2.597, allocations: 153.4 kB / 0.9493 GB, free: 62.84 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0206/2.617, allocations: 8.55 MB / 0.9576 GB, free: 55.15 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/2.617, allocations: 1 kB / 0.9576 GB, free: 55.15 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.009066/2.627, allocations: 3.349 MB / 0.9609 GB, free: 52.17 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005549/2.632, allocations: 0.5209 MB / 0.9614 GB, free: 51.73 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03748/2.67, allocations: 13.51 MB / 0.9746 GB, free: 39.47 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/2.681, allocations: 4.945 MB / 0.9794 GB, free: 34.53 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/2.685, allocations: 439.3 kB / 0.9799 GB, free: 34.1 MB / 0.4952 GB Notification: Performance of SimCode: time 2.625e-06/2.685, allocations: 4 kB / 0.9799 GB, free: 34.1 MB / 0.4952 GB Notification: Performance of Templates: time 0.6878/3.373, allocations: 139.8 MB / 1.116 GB, free: 72.57 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches