Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 185.3 kB / 16.4 MB, free: 5.746 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.847/1.847, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001109/0.001109, allocations: 93.69 kB / 270.9 MB, free: 8.367 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.4971/0.4971, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006471, allocations: 16 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1228, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6048, allocations: 107.6 MB / 0.5839 GB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.6052, allocations: 79.97 kB / 0.5839 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8841/1.489, allocations: 132.5 MB / 0.7133 GB, free: 84.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.489, allocations: 0 / 0.7133 GB, free: 84.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004975/1.49, allocations: 135.6 kB / 0.7134 GB, free: 84.52 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.03159/1.521, allocations: 7.202 MB / 0.7205 GB, free: 81.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.522, allocations: 12.19 kB / 0.7205 GB, free: 81.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0539/1.575, allocations: 7.141 MB / 0.7275 GB, free: 81.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0271/1.603, allocations: 7.483 MB / 0.7348 GB, free: 80.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006501/1.603, allocations: 0.5022 MB / 0.7353 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003843/1.607, allocations: 0.665 MB / 0.7359 GB, free: 80.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04873/1.656, allocations: 16.2 MB / 0.7517 GB, free: 72.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000527/1.657, allocations: 98 kB / 0.7518 GB, free: 72.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003306/1.66, allocations: 328.2 kB / 0.7521 GB, free: 72.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003348/1.663, allocations: 1.549 MB / 0.7536 GB, free: 71.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03978/1.703, allocations: 13.15 MB / 0.7665 GB, free: 67.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1062/1.809, allocations: 73.09 MB / 0.8379 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02699/1.836, allocations: 6.512 MB / 0.8442 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02701/1.863, allocations: 9.278 MB / 0.8533 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.474e-05/1.864, allocations: 60.56 kB / 0.8533 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 7.193e-06/1.864, allocations: 0 / 0.8533 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311): time 0.4897/2.353, allocations: 30.1 MB / 0.8827 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/2.353, allocations: 241.8 kB / 0.883 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0169/2.37, allocations: 6.186 MB / 0.889 GB, free: 90.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000927/2.371, allocations: 76.67 kB / 0.8891 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0045/2.376, allocations: 4.602 MB / 0.8936 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/2.378, allocations: 1.174 MB / 0.8947 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/2.38, allocations: 182.6 kB / 0.8949 GB, free: 87.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000961/2.381, allocations: 0.692 MB / 0.8956 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/2.392, allocations: 3.575 MB / 0.8991 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/2.407, allocations: 8.868 MB / 0.9077 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/2.421, allocations: 5.509 MB / 0.9131 GB, free: 76.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002934/2.422, allocations: 55.8 kB / 0.9132 GB, free: 76.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.03878/2.461, allocations: 13.46 MB / 0.9263 GB, free: 71.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/2.461, allocations: 84.62 kB / 0.9264 GB, free: 71.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003343/2.461, allocations: 189.7 kB / 0.9266 GB, free: 71.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007253/2.468, allocations: 1.702 MB / 0.9282 GB, free: 71.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/2.483, allocations: 2.14 MB / 0.9303 GB, free: 71.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0278/2.51, allocations: 11.67 MB / 0.9417 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/2.528, allocations: 0.5395 MB / 0.9422 GB, free: 65.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002476/2.53, allocations: 0.5359 MB / 0.9428 GB, free: 64.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1107): * Single equations (assignments): 1102 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009784/2.54, allocations: 3.234 MB / 0.9459 GB, free: 63.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/2.542, allocations: 0.5884 MB / 0.9465 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0263/2.568, allocations: 6.752 MB / 0.9531 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.582e-05/2.569, allocations: 30.47 kB / 0.9531 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/2.569, allocations: 11.12 kB / 0.9531 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/2.569, allocations: 14.72 kB / 0.9531 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06879/2.638, allocations: 15.2 MB / 0.968 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-05/2.638, allocations: 3.625 kB / 0.968 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008559/2.646, allocations: 0.5632 MB / 0.9685 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/2.657, allocations: 1.411 MB / 0.9699 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001198/2.658, allocations: 63.61 kB / 0.97 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03339/2.692, allocations: 10.82 MB / 0.9805 GB, free: 44.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/2.692, allocations: 4 kB / 0.9805 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04102/2.733, allocations: 11.85 MB / 0.9921 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00651/2.739, allocations: 1.152 MB / 0.9932 GB, free: 33.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003166/2.743, allocations: 59.8 kB / 0.9933 GB, free: 33.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008573/2.751, allocations: 205.1 kB / 0.9935 GB, free: 33.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/2.753, allocations: 191.6 kB / 0.9937 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00069/2.754, allocations: 85.19 kB / 0.9938 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01764/2.771, allocations: 4.433 MB / 0.9981 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.32e-07/2.771, allocations: 0 / 0.9981 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01685/2.788, allocations: 1.659 MB / 0.9997 GB, free: 27.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (254): * Single equations (assignments): 249 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/2.79, allocations: 217.9 kB / 0.9999 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0295/2.819, allocations: 8.82 MB / 1.009 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/2.82, allocations: 4.062 kB / 1.009 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01448/2.834, allocations: 3.374 MB / 1.012 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00757/2.842, allocations: 0.7191 MB / 1.013 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/2.888, allocations: 19.19 MB / 1.031 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/2.901, allocations: 5.038 MB / 1.036 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003503/2.905, allocations: 479.3 kB / 1.037 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.905, allocations: 0 / 1.037 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.6692/3.574, allocations: 147.9 MB / 1.181 GB, free: 49.28 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches