Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001103/0.001103, allocations: 175.8 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007511/0.0007511, allocations: 88.56 kB / 271.3 MB, free: 8.254 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.3356/0.3356, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 12 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4691, allocations: 107.8 MB / 0.5852 GB, free: 9.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4694, allocations: 79.97 kB / 0.5853 GB, free: 9.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5216/0.9911, allocations: 127.5 MB / 0.7098 GB, free: 85.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9911, allocations: 0 / 0.7098 GB, free: 85.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004364/0.9916, allocations: 129.5 kB / 0.7099 GB, free: 85.02 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.02361/1.015, allocations: 6.763 MB / 0.7165 GB, free: 82.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.015, allocations: 8.938 kB / 0.7165 GB, free: 82.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02465/1.04, allocations: 5.467 MB / 0.7219 GB, free: 81.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/1.056, allocations: 6.277 MB / 0.728 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/1.057, allocations: 498.8 kB / 0.7285 GB, free: 80.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003512/1.06, allocations: 0.6515 MB / 0.7291 GB, free: 80.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03857/1.099, allocations: 16.16 MB / 0.7449 GB, free: 74.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005209/1.1, allocations: 87.5 kB / 0.745 GB, free: 74.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003003/1.103, allocations: 326 kB / 0.7453 GB, free: 73.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/1.105, allocations: 1.545 MB / 0.7468 GB, free: 73.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0308/1.136, allocations: 13.14 MB / 0.7596 GB, free: 69.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07767/1.214, allocations: 72.52 MB / 0.8305 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/1.23, allocations: 7.348 MB / 0.8376 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/1.235, allocations: 3.867 MB / 0.8414 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/1.252, allocations: 9.582 MB / 0.8508 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/1.252, allocations: 64.48 kB / 0.8508 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 5.941e-06/1.252, allocations: 4 kB / 0.8508 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.364/1.616, allocations: 31.18 MB / 0.8813 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/1.616, allocations: 245.9 kB / 0.8815 GB, free: 93.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01189/1.628, allocations: 6.83 MB / 0.8882 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007966/1.629, allocations: 73.22 kB / 0.8883 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003753/1.633, allocations: 4.701 MB / 0.8929 GB, free: 90.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/1.635, allocations: 1.189 MB / 0.894 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/1.636, allocations: 178.1 kB / 0.8942 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006864/1.637, allocations: 0.6792 MB / 0.8949 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00838/1.645, allocations: 3.557 MB / 0.8983 GB, free: 89.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.658, allocations: 8.738 MB / 0.9069 GB, free: 81.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/1.675, allocations: 13.33 MB / 0.9199 GB, free: 71.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003461/1.675, allocations: 49.59 kB / 0.9199 GB, free: 71.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02997/1.705, allocations: 13.53 MB / 0.9331 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003122/1.705, allocations: 89.75 kB / 0.9332 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003912/1.706, allocations: 184.5 kB / 0.9334 GB, free: 66.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/1.71, allocations: 1.666 MB / 0.935 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008081/1.718, allocations: 2.111 MB / 0.9371 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/1.731, allocations: 11.25 MB / 0.9481 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009173/1.74, allocations: 0.5216 MB / 0.9486 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002429/1.743, allocations: 0.5254 MB / 0.9491 GB, free: 59.78 MB / 0.4948 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.009864/1.753, allocations: 3.159 MB / 0.9522 GB, free: 58.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/1.755, allocations: 0.5866 MB / 0.9528 GB, free: 57.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.768, allocations: 6.797 MB / 0.9594 GB, free: 55.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/1.768, allocations: 33.28 kB / 0.9594 GB, free: 55.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-05/1.768, allocations: 10.56 kB / 0.9594 GB, free: 55.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/1.768, allocations: 13.45 kB / 0.9594 GB, free: 55.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03195/1.8, allocations: 15.21 MB / 0.9743 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/1.8, allocations: 4 kB / 0.9743 GB, free: 49.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.803, allocations: 0.589 MB / 0.9749 GB, free: 48.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003189/1.806, allocations: 1.4 MB / 0.9763 GB, free: 47.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004504/1.807, allocations: 55.61 kB / 0.9763 GB, free: 47.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/1.818, allocations: 10.45 MB / 0.9865 GB, free: 38.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.818, allocations: 15.94 kB / 0.9865 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01559/1.834, allocations: 11.06 MB / 0.9973 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00376/1.838, allocations: 1.154 MB / 0.9985 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/1.839, allocations: 70.98 kB / 0.9985 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/1.842, allocations: 212.6 kB / 0.9987 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006514/1.842, allocations: 193.3 kB / 0.9989 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.843, allocations: 87.55 kB / 0.999 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008208/1.851, allocations: 4.37 MB / 1.003 GB, free: 23.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.02e-07/1.851, allocations: 4 kB / 1.003 GB, free: 23.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01184/1.863, allocations: 1.632 MB / 1.005 GB, free: 21.93 MB / 0.4948 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.0009057/1.864, allocations: 209.8 kB / 1.005 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01488/1.879, allocations: 8.744 MB / 1.014 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.879, allocations: 4.062 kB / 1.014 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005105/1.884, allocations: 3.458 MB / 1.017 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009304/1.893, allocations: 0.739 MB / 1.018 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/1.927, allocations: 18.3 MB / 1.036 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007368/1.935, allocations: 4.8 MB / 1.04 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008774/1.943, allocations: 2.952 MB / 1.043 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/1.945, allocations: 403.4 kB / 1.044 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/1.945, allocations: 0 / 1.044 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of Templates: time 0.4113/2.357, allocations: 63.48 MB / 1.106 GB, free: 108.1 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches