Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,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.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002114/0.002114, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.065/2.065, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001097/0.001097, allocations: 90.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2758/0.2758, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.494e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5144/0.625, allocations: 108.7 MB / 0.5789 GB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.6253, allocations: 78.95 kB / 0.579 GB, free: 11.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.981/1.606, allocations: 152.8 MB / 0.7282 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.214e-06/1.606, allocations: 2.844 kB / 0.7282 GB, free: 92.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006881/1.607, allocations: 155.2 kB / 0.7283 GB, free: 92.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03372/1.641, allocations: 7.385 MB / 0.7355 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.641, allocations: 11.06 kB / 0.7356 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07042/1.711, allocations: 9.635 MB / 0.745 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03209/1.743, allocations: 9.131 MB / 0.7539 GB, free: 88.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007834/1.744, allocations: 0.58 MB / 0.7545 GB, free: 88.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004508/1.749, allocations: 0.7693 MB / 0.7552 GB, free: 88.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05623/1.805, allocations: 18.03 MB / 0.7728 GB, free: 84.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006088/1.806, allocations: 109 kB / 0.7729 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004031/1.81, allocations: 377.9 kB / 0.7733 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/1.814, allocations: 1.69 MB / 0.7749 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04433/1.858, allocations: 14.4 MB / 0.789 GB, free: 81.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/1.978, allocations: 80.91 MB / 0.868 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0281/2.006, allocations: 7.147 MB / 0.875 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01016/2.017, allocations: 4.058 MB / 0.879 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/2.017, allocations: 68.97 kB / 0.879 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/2.017, allocations: 72.62 kB / 0.8791 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 1.263e-05/2.017, allocations: 0 / 0.8791 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.5416/2.559, allocations: 27.39 MB / 0.9058 GB, free: 98.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/2.559, allocations: 290.7 kB / 0.9061 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02157/2.581, allocations: 6.54 MB / 0.9125 GB, free: 97.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/2.582, allocations: 79.73 kB / 0.9126 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00666/2.589, allocations: 5.094 MB / 0.9176 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002661/2.591, allocations: 1.276 MB / 0.9188 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/2.594, allocations: 196.9 kB / 0.919 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001609/2.595, allocations: 0.7111 MB / 0.9197 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.606, allocations: 3.609 MB / 0.9232 GB, free: 94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/2.62, allocations: 9.213 MB / 0.9322 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01325/2.633, allocations: 5.712 MB / 0.9378 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002627/2.634, allocations: 60.56 kB / 0.9378 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.03747/2.671, allocations: 13.48 MB / 0.951 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/2.671, allocations: 94.09 kB / 0.9511 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003418/2.672, allocations: 199.4 kB / 0.9513 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005696/2.677, allocations: 1.372 MB / 0.9526 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01501/2.692, allocations: 2.249 MB / 0.9548 GB, free: 85.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/2.712, allocations: 11.24 MB / 0.9658 GB, free: 79.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/2.725, allocations: 0.5307 MB / 0.9663 GB, free: 79.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00254/2.728, allocations: 0.5687 MB / 0.9669 GB, free: 79.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 63 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1175): * Single equations (assignments): 1169 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004179/2.732, allocations: 0.841 MB / 0.9677 GB, free: 78.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002235/2.734, allocations: 0.6478 MB / 0.9683 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/2.755, allocations: 6.597 MB / 0.9748 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.86e-05/2.755, allocations: 37.02 kB / 0.9748 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/2.755, allocations: 6.969 kB / 0.9748 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.526e-05/2.755, allocations: 20.81 kB / 0.9748 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.048/2.804, allocations: 15.39 MB / 0.9899 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/2.804, allocations: 3.969 kB / 0.9899 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006272/2.81, allocations: 0.5836 MB / 0.9904 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/2.815, allocations: 1.046 MB / 0.9915 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009837/2.816, allocations: 66.17 kB / 0.9915 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/2.834, allocations: 10.25 MB / 1.002 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.834, allocations: 3.5 kB / 1.002 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02715/2.862, allocations: 11.12 MB / 1.012 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005309/2.867, allocations: 1.211 MB / 1.014 GB, free: 58.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003141/2.87, allocations: 59.27 kB / 1.014 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006627/2.877, allocations: 199.5 kB / 1.014 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/2.878, allocations: 204.9 kB / 1.014 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003821/2.879, allocations: 88.36 kB / 1.014 GB, free: 58.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01215/2.891, allocations: 4.636 MB / 1.019 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.72e-07/2.891, allocations: 0 / 1.019 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01283/2.904, allocations: 1.795 MB / 1.02 GB, free: 52.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/2.905, allocations: 213.4 kB / 1.021 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02105/2.926, allocations: 9.121 MB / 1.029 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/2.926, allocations: 3.281 kB / 1.029 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00852/2.935, allocations: 3.482 MB / 1.033 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007542/2.942, allocations: 0.8256 MB / 1.034 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04242/2.985, allocations: 15.22 MB / 1.049 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/2.998, allocations: 5.621 MB / 1.054 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003626/3.002, allocations: 0.5033 MB / 1.055 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/3.002, allocations: 0 / 1.055 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.7651/3.767, allocations: 195.7 MB / 1.246 GB, free: 11.18 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches