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.0009584/0.0009584, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.221/1.221, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0008291/0.0008291, allocations: 85.55 kB / 271.9 MB, free: 8.25 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.3088/0.3088, allocations: 43.56 MB / 363.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005127, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.4451, allocations: 107.8 MB / 0.5852 GB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4454, allocations: 75.97 kB / 0.5853 GB, free: 10.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4951/0.9404, allocations: 127.5 MB / 0.7098 GB, free: 84.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.9405, allocations: 0 / 0.7098 GB, free: 84.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005097/0.941, allocations: 130.3 kB / 0.7099 GB, free: 84.71 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.02301/0.964, allocations: 6.761 MB / 0.7165 GB, free: 81.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.9641, allocations: 8.75 kB / 0.7165 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02363/0.9877, allocations: 5.47 MB / 0.7219 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/1.005, allocations: 6.286 MB / 0.728 GB, free: 80.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005289/1.005, allocations: 493.8 kB / 0.7285 GB, free: 80.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/1.01, allocations: 0.6532 MB / 0.7291 GB, free: 80.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/1.043, allocations: 16.16 MB / 0.7449 GB, free: 73.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004418/1.044, allocations: 83.56 kB / 0.745 GB, free: 73.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003018/1.047, allocations: 325.5 kB / 0.7453 GB, free: 73.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/1.049, allocations: 1.55 MB / 0.7468 GB, free: 73.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02567/1.075, allocations: 13.14 MB / 0.7596 GB, free: 69.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0773/1.152, allocations: 72.52 MB / 0.8304 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.169, allocations: 7.337 MB / 0.8376 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/1.173, allocations: 3.86 MB / 0.8414 GB, free: 1.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/1.193, allocations: 9.602 MB / 0.8508 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.314e-05/1.193, allocations: 56.56 kB / 0.8508 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=273): time 8.746e-06/1.193, allocations: 0 / 0.8508 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=315): time 0.297/1.49, allocations: 31.19 MB / 0.8813 GB, free: 93.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.289e-05/1.49, allocations: 241.5 kB / 0.8815 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.501, allocations: 6.829 MB / 0.8882 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007666/1.502, allocations: 71.41 kB / 0.8882 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003352/1.505, allocations: 4.706 MB / 0.8928 GB, free: 90.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.507, allocations: 1.19 MB / 0.894 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009502/1.508, allocations: 181.6 kB / 0.8942 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005279/1.508, allocations: 0.6808 MB / 0.8948 GB, free: 89.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006969/1.515, allocations: 3.553 MB / 0.8983 GB, free: 89.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009999/1.525, allocations: 8.734 MB / 0.9068 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/1.54, allocations: 13.33 MB / 0.9198 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002338/1.54, allocations: 52.97 kB / 0.9199 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02409/1.564, allocations: 13.54 MB / 0.9331 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/1.564, allocations: 81.28 kB / 0.9332 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002926/1.565, allocations: 181.3 kB / 0.9334 GB, free: 66.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003782/1.569, allocations: 1.664 MB / 0.935 GB, free: 66.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007315/1.576, allocations: 2.118 MB / 0.9371 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.589, allocations: 11.25 MB / 0.948 GB, free: 60.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008999/1.598, allocations: 0.5307 MB / 0.9486 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002236/1.6, allocations: 0.5255 MB / 0.9491 GB, free: 59.79 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.008575/1.609, allocations: 3.15 MB / 0.9522 GB, free: 58.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001706/1.61, allocations: 0.5927 MB / 0.9527 GB, free: 58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.623, allocations: 6.792 MB / 0.9594 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/1.623, allocations: 36.14 kB / 0.9594 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-05/1.623, allocations: 7.906 kB / 0.9594 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/1.623, allocations: 17.59 kB / 0.9594 GB, free: 55.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02997/1.653, allocations: 15.21 MB / 0.9743 GB, free: 49.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.037e-05/1.653, allocations: 6.875 kB / 0.9743 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002923/1.656, allocations: 0.5867 MB / 0.9749 GB, free: 48.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/1.66, allocations: 1.401 MB / 0.9762 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007478/1.66, allocations: 59.61 kB / 0.9763 GB, free: 47.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.672, allocations: 10.45 MB / 0.9865 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.672, allocations: 11.94 kB / 0.9865 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.688, allocations: 11.06 MB / 0.9973 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003768/1.692, allocations: 1.161 MB / 0.9984 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002304/1.694, allocations: 56.56 kB / 0.9985 GB, free: 27.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.698, allocations: 215.9 kB / 0.9987 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000757/1.699, allocations: 193 kB / 0.9989 GB, free: 27.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003789/1.699, allocations: 80 kB / 0.999 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008264/1.707, allocations: 4.381 MB / 1.003 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.12e-07/1.707, allocations: 0 / 1.003 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009975/1.717, allocations: 1.632 MB / 1.005 GB, free: 22 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.0009309/1.718, allocations: 208.2 kB / 1.005 GB, free: 21.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.732, allocations: 8.748 MB / 1.014 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.732, allocations: 12.12 kB / 1.014 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005847/1.738, allocations: 3.448 MB / 1.017 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0113/1.749, allocations: 0.7389 MB / 1.018 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/1.788, allocations: 19.09 MB / 1.036 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008498/1.796, allocations: 4.801 MB / 1.041 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/1.799, allocations: 475.3 kB / 1.041 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/1.799, allocations: 0 / 1.041 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of Templates: time 0.4273/2.226, allocations: 150.9 MB / 1.189 GB, free: 42.29 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