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.001528/0.001528, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.234/2.234, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0009457/0.0009457, allocations: 94.3 kB / 271.9 MB, free: 8.23 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.5227/0.5227, allocations: 43.55 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006068/0.000607, allocations: 16 kB / 432.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1926, allocations: 58.86 MB / 491.4 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5421/0.7349, allocations: 108.9 MB / 0.5863 GB, free: 9.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003923/0.7353, allocations: 83.89 kB / 0.5864 GB, free: 9.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053/1.788, allocations: 150.2 MB / 0.733 GB, free: 83.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.747e-06/1.788, allocations: 0 / 0.733 GB, free: 83.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006548/1.789, allocations: 147.4 kB / 0.7332 GB, free: 83.45 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: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.04253/1.831, allocations: 7.733 MB / 0.7407 GB, free: 80.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/1.831, allocations: 11.22 kB / 0.7407 GB, free: 80.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05165/1.883, allocations: 7.166 MB / 0.7477 GB, free: 79.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03026/1.913, allocations: 7.929 MB / 0.7555 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/1.914, allocations: 0.5771 MB / 0.756 GB, free: 75.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006355/1.921, allocations: 0.7685 MB / 0.7568 GB, free: 75.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07012/1.991, allocations: 18.07 MB / 0.7744 GB, free: 66.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009086/1.992, allocations: 104.5 kB / 0.7745 GB, free: 65.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005569/1.998, allocations: 369.5 kB / 0.7749 GB, free: 65.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004664/2.002, allocations: 1.7 MB / 0.7766 GB, free: 65.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05017/2.053, allocations: 14.44 MB / 0.7907 GB, free: 55.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.637/2.69, allocations: 80.83 MB / 0.8696 GB, free: 40.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02919/2.719, allocations: 7.138 MB / 0.8766 GB, free: 39.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008754/2.728, allocations: 4.116 MB / 0.8806 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/2.728, allocations: 61.08 kB / 0.8806 GB, free: 39.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/2.728, allocations: 64.53 kB / 0.8807 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 1.236e-05/2.728, allocations: 0 / 0.8807 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=340): time 0.1591/2.888, allocations: 31.26 MB / 0.9112 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/2.888, allocations: 295.6 kB / 0.9115 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0314/2.919, allocations: 7.408 MB / 0.9188 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001365/2.921, allocations: 76.05 kB / 0.9188 GB, free: 31.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008843/2.93, allocations: 5.376 MB / 0.9241 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003908/2.934, allocations: 1.282 MB / 0.9253 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002483/2.936, allocations: 194.9 kB / 0.9255 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001791/2.938, allocations: 0.7067 MB / 0.9262 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01222/2.95, allocations: 3.696 MB / 0.9298 GB, free: 25.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01772/2.968, allocations: 9.339 MB / 0.9389 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02784/2.996, allocations: 14.17 MB / 0.9528 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004212/2.997, allocations: 58.16 kB / 0.9528 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.04473/3.041, allocations: 13.94 MB / 0.9664 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004695/3.042, allocations: 93.55 kB / 0.9665 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006369/3.043, allocations: 198.2 kB / 0.9667 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005637/3.048, allocations: 1.351 MB / 0.968 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/3.061, allocations: 2.242 MB / 0.9702 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/3.084, allocations: 11.29 MB / 0.9813 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/3.099, allocations: 0.5406 MB / 0.9818 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003244/3.103, allocations: 0.5639 MB / 0.9823 GB, free: 9.852 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 () * Number of clocked 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.01598/3.119, allocations: 3.594 MB / 0.9858 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003647/3.122, allocations: 0.6402 MB / 0.9865 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0273/3.15, allocations: 6.683 MB / 0.993 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001208/3.15, allocations: 36 kB / 0.993 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-05/3.15, allocations: 10.11 kB / 0.993 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/3.15, allocations: 18.25 kB / 0.9931 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06573/3.216, allocations: 15.55 MB / 1.008 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.797e-05/3.216, allocations: 0 / 1.008 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006815/3.223, allocations: 0.5856 MB / 1.009 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005974/3.229, allocations: 1.05 MB / 1.01 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/3.23, allocations: 65.5 kB / 1.01 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/3.253, allocations: 10.29 MB / 1.02 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/3.253, allocations: 7.938 kB / 1.02 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03462/3.288, allocations: 11.05 MB / 1.031 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007973/3.296, allocations: 1.271 MB / 1.032 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004382/3.3, allocations: 72.08 kB / 1.032 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009117/3.31, allocations: 258.6 kB / 1.032 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002787/3.312, allocations: 255.3 kB / 1.033 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008871/3.313, allocations: 91.75 kB / 1.033 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0171/3.331, allocations: 4.706 MB / 1.037 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.333e-06/3.331, allocations: 0 / 1.037 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0177/3.348, allocations: 1.798 MB / 1.039 GB, free: 10.26 MB / 0.5573 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 () * Number of clocked 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.001422/3.35, allocations: 212.1 kB / 1.039 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02717/3.377, allocations: 9.257 MB / 1.048 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/3.377, allocations: 0 / 1.048 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01474/3.392, allocations: 3.716 MB / 1.052 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/3.406, allocations: 0.864 MB / 1.053 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07012/3.476, allocations: 21.05 MB / 1.073 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01987/3.496, allocations: 5.461 MB / 1.079 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004388/3.501, allocations: 0.4994 MB / 1.079 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of SimCode: time 1.824e-06/3.501, allocations: 7.938 kB / 1.079 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of Templates: time 0.8227/4.323, allocations: 205 MB / 1.279 GB, free: 45.11 MB / 0.5886 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