Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008642/0.0008641, allocations: 180.4 kB / 17.41 MB, free: 4.387 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.23/1.23, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007338/0.000734, allocations: 89.41 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003485, allocations: 11.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.222, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3285, allocations: 100.4 MB / 476.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.3288, allocations: 99.95 kB / 476.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3738/0.7026, allocations: 96.39 MB / 0.5592 GB, free: 57.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.7027, allocations: 0 / 0.5592 GB, free: 57.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001928/0.7029, allocations: 95.98 kB / 0.5593 GB, free: 57.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01322/0.7161, allocations: 4.777 MB / 0.564 GB, free: 52.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.7162, allocations: 12.02 kB / 0.564 GB, free: 52.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.7311, allocations: 3.679 MB / 0.5676 GB, free: 48.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009011/0.7401, allocations: 4.016 MB / 0.5715 GB, free: 44.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.7405, allocations: 369.8 kB / 0.5719 GB, free: 44.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002022/0.7425, allocations: 476.1 kB / 0.5723 GB, free: 43.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02319/0.7657, allocations: 11.96 MB / 0.584 GB, free: 30.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002849/0.7661, allocations: 59.64 kB / 0.5841 GB, free: 30.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/0.7678, allocations: 239.8 kB / 0.5843 GB, free: 30.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/0.7696, allocations: 1.195 MB / 0.5855 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.7886, allocations: 9.83 MB / 0.5951 GB, free: 19.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2443/1.033, allocations: 52.9 MB / 0.6467 GB, free: 80.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/1.044, allocations: 5.161 MB / 0.6518 GB, free: 80.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/1.047, allocations: 2.646 MB / 0.6543 GB, free: 80.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.059, allocations: 7.994 MB / 0.6622 GB, free: 78.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/1.059, allocations: 55.59 kB / 0.6622 GB, free: 78.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 5.4e-06/1.059, allocations: 0 / 0.6622 GB, free: 78.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.04566/1.104, allocations: 18.92 MB / 0.6807 GB, free: 75.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/1.105, allocations: 191.3 kB / 0.6809 GB, free: 75.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008036/1.113, allocations: 4.729 MB / 0.6855 GB, free: 74.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004833/1.113, allocations: 57.27 kB / 0.6855 GB, free: 74.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.115, allocations: 3.437 MB / 0.6889 GB, free: 71.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.116, allocations: 0.8922 MB / 0.6898 GB, free: 71.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006717/1.117, allocations: 129.3 kB / 0.6899 GB, free: 71.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000501/1.117, allocations: 0.5879 MB / 0.6905 GB, free: 70.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003762/1.121, allocations: 2.508 MB / 0.6929 GB, free: 69.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005116/1.126, allocations: 6.422 MB / 0.6992 GB, free: 63.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009105/1.135, allocations: 9.74 MB / 0.7087 GB, free: 56.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/1.136, allocations: 37.31 kB / 0.7087 GB, free: 56.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=867) (initialization): time 0.01468/1.15, allocations: 9.501 MB / 0.718 GB, free: 52.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.15, allocations: 67.19 kB / 0.7181 GB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/1.151, allocations: 139.9 kB / 0.7182 GB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/1.153, allocations: 0.9055 MB / 0.7191 GB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004734/1.157, allocations: 1.596 MB / 0.7207 GB, free: 50.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/1.163, allocations: 5.796 MB / 0.7263 GB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.168, allocations: 376.2 kB / 0.7267 GB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007955/1.168, allocations: 398.4 kB / 0.7271 GB, free: 44.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004023/1.173, allocations: 2.374 MB / 0.7294 GB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007923/1.173, allocations: 418.6 kB / 0.7298 GB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006723/1.18, allocations: 4.308 MB / 0.734 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/1.18, allocations: 24 kB / 0.734 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.18, allocations: 8 kB / 0.734 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.18, allocations: 10.59 kB / 0.734 GB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/1.198, allocations: 10.41 MB / 0.7442 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/1.198, allocations: 4 kB / 0.7442 GB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.2, allocations: 470.1 kB / 0.7446 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/1.201, allocations: 0.7178 MB / 0.7453 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/1.202, allocations: 50.3 kB / 0.7454 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/1.207, allocations: 5.328 MB / 0.7506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.207, allocations: 11.94 kB / 0.7506 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009537/1.217, allocations: 7.529 MB / 0.7579 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.219, allocations: 0.8183 MB / 0.7587 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009261/1.22, allocations: 45.64 kB / 0.7588 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.222, allocations: 148.7 kB / 0.7589 GB, free: 16.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/1.222, allocations: 142.5 kB / 0.7591 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.222, allocations: 71.56 kB / 0.7591 GB, free: 16.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005251/1.228, allocations: 3.023 MB / 0.7621 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.228, allocations: 0 / 0.7621 GB, free: 13.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006353/1.234, allocations: 1.156 MB / 0.7632 GB, free: 12.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006407/1.235, allocations: 202 kB / 0.7634 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008774/1.243, allocations: 6.142 MB / 0.7694 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.244, allocations: 4 kB / 0.7694 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003109/1.247, allocations: 2.272 MB / 0.7716 GB, free: 3.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006532/1.253, allocations: 0.5131 MB / 0.7721 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/1.274, allocations: 13.51 MB / 0.7853 GB, free: 5.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004757/1.279, allocations: 3.67 MB / 0.7889 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.28, allocations: 347.4 kB / 0.7892 GB, free: 1.805 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/1.28, allocations: 0 / 0.7892 GB, free: 1.805 MB / 426.7 MB Notification: Performance of Templates: time 0.294/1.574, allocations: 88.18 MB / 0.8753 GB, free: 76.16 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches