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.002131/0.002131, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 94.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3017/0.3017, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.21e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4039, allocations: 58.84 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.6012, allocations: 105.2 MB / 0.5687 GB, free: 10.05 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.6016, allocations: 79.23 kB / 0.5687 GB, free: 9.98 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9348/1.536, allocations: 140.6 MB / 0.7061 GB, free: 96.94 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.846e-06/1.536, allocations: 0 / 0.7061 GB, free: 96.94 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005484/1.537, allocations: 144.1 kB / 0.7062 GB, free: 96.93 MB / 475.1 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.02914/1.566, allocations: 6.838 MB / 0.7129 GB, free: 92.46 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.566, allocations: 8.844 kB / 0.7129 GB, free: 92.46 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06914/1.635, allocations: 9.547 MB / 0.7222 GB, free: 84.94 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03198/1.667, allocations: 8.844 MB / 0.7309 GB, free: 76.1 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/1.668, allocations: 228 kB / 0.7311 GB, free: 75.88 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004048/1.672, allocations: 427.8 kB / 0.7315 GB, free: 75.46 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02488/1.697, allocations: 9.427 MB / 0.7407 GB, free: 66.03 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03644/1.734, allocations: 14.6 MB / 0.755 GB, free: 49.96 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005823/1.734, allocations: 103.1 kB / 0.7551 GB, free: 49.86 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/1.738, allocations: 44 kB / 0.7551 GB, free: 49.82 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00347/1.741, allocations: 1.526 MB / 0.7566 GB, free: 48.29 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/1.852, allocations: 69.53 MB / 0.8245 GB, free: 9.227 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.863, allocations: 4.647 MB / 0.829 GB, free: 4.422 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006858/1.87, allocations: 2.997 MB / 0.832 GB, free: 1.414 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/1.87, allocations: 47.86 kB / 0.832 GB, free: 1.383 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/1.87, allocations: 68.36 kB / 0.8321 GB, free: 1.305 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=249): time 6.934e-06/1.87, allocations: 0 / 0.8321 GB, free: 1.305 MB / 0.4952 GB Notification: Performance of matching and sorting (n=268): time 0.4509/2.321, allocations: 24.42 MB / 0.8559 GB, free: 115.4 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/2.321, allocations: 265.8 kB / 0.8562 GB, free: 115.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/2.334, allocations: 4.936 MB / 0.861 GB, free: 114.7 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0006848/2.334, allocations: 25.7 kB / 0.861 GB, free: 114.6 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004442/2.339, allocations: 4.996 MB / 0.8659 GB, free: 111.7 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.001746/2.341, allocations: 1.009 MB / 0.8669 GB, free: 111.1 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009442/2.342, allocations: 0 / 0.8669 GB, free: 111.1 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0005595/2.342, allocations: 0.6975 MB / 0.8676 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006487/2.349, allocations: 2.781 MB / 0.8703 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/2.359, allocations: 8.25 MB / 0.8783 GB, free: 103 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/2.369, allocations: 4.733 MB / 0.883 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/2.369, allocations: 58.47 kB / 0.883 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.02822/2.398, allocations: 10.23 MB / 0.893 GB, free: 98.48 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/2.398, allocations: 89.56 kB / 0.8931 GB, free: 98.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002791/2.398, allocations: 198.1 kB / 0.8933 GB, free: 98.48 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/2.401, allocations: 0.8423 MB / 0.8941 GB, free: 98.32 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01268/2.414, allocations: 2.076 MB / 0.8961 GB, free: 98.07 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/2.426, allocations: 8.188 MB / 0.9041 GB, free: 92.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/2.437, allocations: 309.8 kB / 0.9044 GB, free: 92.38 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/2.439, allocations: 0.5386 MB / 0.9049 GB, free: 92.31 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1096 * 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.002672/2.442, allocations: 0.6009 MB / 0.9055 GB, free: 91.82 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/2.443, allocations: 0.5145 MB / 0.906 GB, free: 91.54 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/2.455, allocations: 4.21 MB / 0.9101 GB, free: 89.98 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.577e-05/2.455, allocations: 28.94 kB / 0.9102 GB, free: 89.98 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/2.455, allocations: 7.094 kB / 0.9102 GB, free: 89.98 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/2.455, allocations: 17.03 kB / 0.9102 GB, free: 89.97 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03004/2.485, allocations: 10.3 MB / 0.9203 GB, free: 83.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/2.485, allocations: 4 kB / 0.9203 GB, free: 83.69 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004437/2.49, allocations: 446.8 kB / 0.9207 GB, free: 83.34 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/2.492, allocations: 0.5227 MB / 0.9212 GB, free: 82.94 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005344/2.493, allocations: 16.97 kB / 0.9212 GB, free: 82.93 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/2.504, allocations: 7.26 MB / 0.9283 GB, free: 75.96 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/2.504, allocations: 3.938 kB / 0.9283 GB, free: 75.96 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01619/2.52, allocations: 7.612 MB / 0.9357 GB, free: 69.12 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003747/2.524, allocations: 0.901 MB / 0.9366 GB, free: 68.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001669/2.525, allocations: 11.38 kB / 0.9366 GB, free: 68.26 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00471/2.53, allocations: 112.9 kB / 0.9367 GB, free: 68.2 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008664/2.531, allocations: 158 kB / 0.9369 GB, free: 68.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/2.531, allocations: 71.42 kB / 0.937 GB, free: 68.03 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.008012/2.539, allocations: 3.339 MB / 0.9402 GB, free: 65.12 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.182e-06/2.539, allocations: 0 / 0.9402 GB, free: 65.12 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01176/2.551, allocations: 1.349 MB / 0.9415 GB, free: 63.78 MB / 0.4952 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 214 * 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.0009477/2.552, allocations: 157.5 kB / 0.9417 GB, free: 63.63 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01476/2.567, allocations: 7.009 MB / 0.9485 GB, free: 57.27 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.567, allocations: 0 / 0.9485 GB, free: 57.27 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.004594/2.572, allocations: 2.411 MB / 0.9509 GB, free: 55.06 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/2.577, allocations: 0.6068 MB / 0.9515 GB, free: 54.55 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/2.611, allocations: 12.98 MB / 0.9642 GB, free: 43.01 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/2.623, allocations: 5.231 MB / 0.9693 GB, free: 39.18 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002545/2.625, allocations: 430.8 kB / 0.9697 GB, free: 38.77 MB / 0.4952 GB Notification: Performance of SimCode: time 2.554e-06/2.625, allocations: 0 / 0.9697 GB, free: 38.77 MB / 0.4952 GB Notification: Performance of Templates: time 0.7055/3.331, allocations: 172.6 MB / 1.138 GB, free: 55.64 MB / 0.5108 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