Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001612, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.362/2.362, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0009639/0.0009638, allocations: 85.08 kB / 271.9 MB, free: 8.285 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.48/0.48, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005161/0.0005162, allocations: 12 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1676, allocations: 58.86 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.6781, allocations: 106.1 MB / 0.5836 GB, free: 12.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.6785, allocations: 83.94 kB / 0.5836 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9887/1.667, allocations: 141.2 MB / 0.7215 GB, free: 83.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.478e-06/1.667, allocations: 0 / 0.7215 GB, free: 83.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007442/1.668, allocations: 140.7 kB / 0.7216 GB, free: 83.41 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.04747/1.716, allocations: 7.24 MB / 0.7287 GB, free: 80.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.338e-05/1.716, allocations: 9.062 kB / 0.7287 GB, free: 80.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05939/1.775, allocations: 7.073 MB / 0.7356 GB, free: 79.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03164/1.807, allocations: 7.641 MB / 0.7431 GB, free: 78.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/1.808, allocations: 0.5311 MB / 0.7436 GB, free: 78.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005599/1.814, allocations: 0.7023 MB / 0.7443 GB, free: 78.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06287/1.876, allocations: 16.59 MB / 0.7605 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008827/1.877, allocations: 101.1 kB / 0.7606 GB, free: 69.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004713/1.882, allocations: 346.1 kB / 0.7609 GB, free: 69.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00413/1.886, allocations: 1.533 MB / 0.7624 GB, free: 69.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04832/1.935, allocations: 13.21 MB / 0.7753 GB, free: 64.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/2.07, allocations: 72.61 MB / 0.8462 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02773/2.098, allocations: 5.938 MB / 0.852 GB, free: 6.789 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009099/2.107, allocations: 3.132 MB / 0.8551 GB, free: 3.637 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/2.107, allocations: 61.05 kB / 0.8551 GB, free: 3.594 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.991e-05/2.107, allocations: 56.12 kB / 0.8552 GB, free: 3.531 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=249): time 9.137e-06/2.107, allocations: 0 / 0.8552 GB, free: 3.531 MB / 0.4949 GB Notification: Performance of matching and sorting (n=267): time 0.5537/2.661, allocations: 22.61 MB / 0.8773 GB, free: 86.61 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/2.661, allocations: 264.4 kB / 0.8775 GB, free: 86.32 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02583/2.687, allocations: 6.977 MB / 0.8843 GB, free: 85.8 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/2.688, allocations: 70.31 kB / 0.8844 GB, free: 85.77 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007548/2.696, allocations: 5.064 MB / 0.8893 GB, free: 83.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002628/2.699, allocations: 1.025 MB / 0.8904 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/2.7, allocations: 177.3 kB / 0.8905 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001227/2.701, allocations: 0.672 MB / 0.8912 GB, free: 82.4 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009786/2.711, allocations: 2.969 MB / 0.8941 GB, free: 82.38 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01638/2.728, allocations: 8.273 MB / 0.9022 GB, free: 75.57 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02814/2.756, allocations: 12.24 MB / 0.9141 GB, free: 66.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006456/2.757, allocations: 53.59 kB / 0.9142 GB, free: 66.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.04414/2.801, allocations: 11.59 MB / 0.9255 GB, free: 62.24 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003015/2.801, allocations: 88.41 kB / 0.9256 GB, free: 62.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004916/2.802, allocations: 187.2 kB / 0.9257 GB, free: 62.24 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/2.805, allocations: 0.8127 MB / 0.9265 GB, free: 62.08 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/2.819, allocations: 1.994 MB / 0.9285 GB, free: 61.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/2.834, allocations: 8.519 MB / 0.9368 GB, free: 55.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/2.849, allocations: 482.8 kB / 0.9373 GB, free: 55.74 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002963/2.852, allocations: 0.5147 MB / 0.9378 GB, free: 55.67 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (1059): * Single equations (assignments): 1053 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01502/2.867, allocations: 3.325 MB / 0.941 GB, free: 54.13 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002905/2.87, allocations: 0.5894 MB / 0.9416 GB, free: 53.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/2.886, allocations: 4.547 MB / 0.946 GB, free: 52.03 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-05/2.886, allocations: 33.8 kB / 0.9461 GB, free: 52.03 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-05/2.886, allocations: 6.312 kB / 0.9461 GB, free: 52.03 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.34e-05/2.886, allocations: 22.97 kB / 0.9461 GB, free: 52.02 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04709/2.934, allocations: 11.71 MB / 0.9575 GB, free: 47.67 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-05/2.934, allocations: 0 / 0.9575 GB, free: 47.67 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004554/2.938, allocations: 440.5 kB / 0.9579 GB, free: 47.64 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002894/2.941, allocations: 0.5312 MB / 0.9585 GB, free: 47.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000896/2.942, allocations: 47.06 kB / 0.9585 GB, free: 47.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/2.955, allocations: 7.597 MB / 0.9659 GB, free: 41.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.955, allocations: 0 / 0.9659 GB, free: 41.89 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/2.981, allocations: 7.875 MB / 0.9736 GB, free: 38.52 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006805/2.988, allocations: 1.008 MB / 0.9746 GB, free: 37.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003717/2.991, allocations: 42.81 kB / 0.9746 GB, free: 37.88 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007348/2.999, allocations: 157.3 kB / 0.9748 GB, free: 37.85 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/3, allocations: 157.6 kB / 0.9749 GB, free: 37.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004553/3.001, allocations: 69.7 kB / 0.975 GB, free: 37.81 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01753/3.018, allocations: 4.441 MB / 0.9793 GB, free: 36.34 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.373e-06/3.018, allocations: 0 / 0.9793 GB, free: 36.34 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0191/3.037, allocations: 1.559 MB / 0.9809 GB, free: 36.17 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/3.039, allocations: 192.7 kB / 0.981 GB, free: 36.03 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02143/3.06, allocations: 7.513 MB / 0.9884 GB, free: 30.12 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/3.061, allocations: 0 / 0.9884 GB, free: 30.12 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006402/3.067, allocations: 2.542 MB / 0.9909 GB, free: 27.85 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/3.08, allocations: 0.7923 MB / 0.9916 GB, free: 27.18 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05574/3.136, allocations: 18.57 MB / 1.01 GB, free: 10.23 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01809/3.154, allocations: 5.073 MB / 1.015 GB, free: 6.398 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003322/3.158, allocations: 461.4 kB / 1.015 GB, free: 5.965 MB / 0.4949 GB Notification: Performance of SimCode: time 1.092e-06/3.158, allocations: 0 / 1.015 GB, free: 5.965 MB / 0.4949 GB Notification: Performance of Templates: time 0.8093/3.967, allocations: 186.3 MB / 1.197 GB, free: 32.48 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches