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.002213/0.002213, allocations: 185.9 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.018/2.018, 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.001109/0.001109, allocations: 100 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.503/0.503, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004896, allocations: 20 kB / 431.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4848/0.6108, allocations: 107.7 MB / 0.5839 GB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.6112, allocations: 83.95 kB / 0.5839 GB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9169/1.528, allocations: 129.4 MB / 0.7103 GB, free: 84.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.528, allocations: 2.969 kB / 0.7103 GB, free: 84.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004528/1.529, allocations: 128.8 kB / 0.7104 GB, free: 84.92 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.03083/1.56, allocations: 7.096 MB / 0.7173 GB, free: 82.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.56, allocations: 9.375 kB / 0.7173 GB, free: 82.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05329/1.613, allocations: 7.113 MB / 0.7243 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02813/1.641, allocations: 7.425 MB / 0.7315 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006543/1.642, allocations: 498 kB / 0.732 GB, free: 80.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/1.645, allocations: 0.653 MB / 0.7327 GB, free: 80.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05145/1.697, allocations: 16.31 MB / 0.7486 GB, free: 73.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004606/1.697, allocations: 88.11 kB / 0.7487 GB, free: 73.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/1.7, allocations: 316.1 kB / 0.749 GB, free: 73.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003426/1.704, allocations: 1.551 MB / 0.7505 GB, free: 72.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/1.746, allocations: 13.35 MB / 0.7635 GB, free: 68.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1067/1.852, allocations: 72.6 MB / 0.8344 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03196/1.884, allocations: 7.484 MB / 0.8417 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0277/1.912, allocations: 9.662 MB / 0.8512 GB, free: 6.516 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.975e-05/1.912, allocations: 72.48 kB / 0.8512 GB, free: 6.438 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=273): time 7.243e-06/1.912, allocations: 0 / 0.8512 GB, free: 6.438 MB / 0.4949 GB Notification: Performance of matching and sorting (n=315): time 0.501/2.413, allocations: 31.96 MB / 0.8824 GB, free: 91.7 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/2.413, allocations: 247.2 kB / 0.8827 GB, free: 91.44 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/2.43, allocations: 6.094 MB / 0.8886 GB, free: 90.96 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009739/2.431, allocations: 71.61 kB / 0.8887 GB, free: 90.93 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004513/2.436, allocations: 4.46 MB / 0.893 GB, free: 88.62 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002283/2.438, allocations: 1.185 MB / 0.8942 GB, free: 87.94 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/2.44, allocations: 179.9 kB / 0.8944 GB, free: 87.94 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001065/2.441, allocations: 0.6839 MB / 0.895 GB, free: 87.61 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01117/2.452, allocations: 3.559 MB / 0.8985 GB, free: 87.58 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01556/2.468, allocations: 8.7 MB / 0.907 GB, free: 79.71 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01398/2.482, allocations: 5.441 MB / 0.9123 GB, free: 77.86 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002951/2.482, allocations: 57.25 kB / 0.9124 GB, free: 77.86 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03847/2.521, allocations: 13.28 MB / 0.9253 GB, free: 73.4 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/2.521, allocations: 84.69 kB / 0.9254 GB, free: 73.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003307/2.521, allocations: 180 kB / 0.9256 GB, free: 73.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/2.529, allocations: 1.69 MB / 0.9273 GB, free: 73.11 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/2.543, allocations: 2.118 MB / 0.9293 GB, free: 72.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/2.565, allocations: 11.55 MB / 0.9406 GB, free: 66.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.576, allocations: 0.5316 MB / 0.9411 GB, free: 66.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002441/2.579, allocations: 0.5264 MB / 0.9416 GB, free: 66.48 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1087): * Single equations (assignments): 1082 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009919/2.589, allocations: 3.152 MB / 0.9447 GB, free: 65.02 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/2.59, allocations: 0.5844 MB / 0.9453 GB, free: 64.69 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/2.612, allocations: 6.796 MB / 0.9519 GB, free: 62.21 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.859e-05/2.612, allocations: 37.16 kB / 0.952 GB, free: 62.21 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.87e-05/2.612, allocations: 7.438 kB / 0.952 GB, free: 62.21 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/2.612, allocations: 15.61 kB / 0.952 GB, free: 62.21 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04641/2.659, allocations: 15.22 MB / 0.9668 GB, free: 56.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/2.659, allocations: 3.594 kB / 0.9668 GB, free: 56.72 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005942/2.665, allocations: 0.5833 MB / 0.9674 GB, free: 56.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006635/2.671, allocations: 1.407 MB / 0.9688 GB, free: 56.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009524/2.672, allocations: 57.52 kB / 0.9688 GB, free: 56.37 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/2.694, allocations: 10.73 MB / 0.9793 GB, free: 46.92 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/2.694, allocations: 15.94 kB / 0.9793 GB, free: 46.91 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02901/2.723, allocations: 11.92 MB / 0.991 GB, free: 36.32 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004642/2.728, allocations: 1.155 MB / 0.9921 GB, free: 35.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002437/2.73, allocations: 58.66 kB / 0.9922 GB, free: 35.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006187/2.736, allocations: 217.8 kB / 0.9924 GB, free: 35.05 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/2.738, allocations: 190.6 kB / 0.9925 GB, free: 34.93 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005455/2.738, allocations: 87.8 kB / 0.9926 GB, free: 34.85 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01179/2.75, allocations: 4.371 MB / 0.9969 GB, free: 31.27 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.21e-07/2.75, allocations: 0 / 0.9969 GB, free: 31.27 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0119/2.762, allocations: 1.636 MB / 0.9985 GB, free: 29.64 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (260): * Single equations (assignments): 255 * 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.001352/2.764, allocations: 208.2 kB / 0.9987 GB, free: 29.44 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02075/2.784, allocations: 8.748 MB / 1.007 GB, free: 21.75 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/2.784, allocations: 0 / 1.007 GB, free: 21.75 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.009641/2.794, allocations: 3.464 MB / 1.011 GB, free: 18.73 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006492/2.801, allocations: 0.7011 MB / 1.011 GB, free: 18.12 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04349/2.844, allocations: 18.73 MB / 1.03 GB, free: 1.066 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/2.857, allocations: 4.955 MB / 1.034 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0036/2.861, allocations: 471.3 kB / 1.035 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/2.861, allocations: 7.75 kB / 1.035 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.6547/3.516, allocations: 145.2 MB / 1.177 GB, free: 54.42 MB / 0.5261 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