Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 172.2 kB / 16.76 MB, free: 5.059 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.355/1.355, allocations: 205.4 MB / 222.9 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.0007201/0.0007201, allocations: 88.08 kB / 271.3 MB, free: 8.254 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.3292/0.3292, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.4419, allocations: 110.4 MB / 0.5878 GB, free: 7.562 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.4422, allocations: 83.95 kB / 0.5878 GB, free: 7.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6063/1.049, allocations: 147.2 MB / 0.7316 GB, free: 83.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.049, allocations: 0 / 0.7316 GB, free: 83.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003926/1.049, allocations: 156.5 kB / 0.7317 GB, free: 83.84 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02955/1.079, allocations: 7.586 MB / 0.7391 GB, free: 80.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.079, allocations: 11.5 kB / 0.7391 GB, free: 80.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02468/1.103, allocations: 5.676 MB / 0.7447 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0164/1.12, allocations: 6.79 MB / 0.7513 GB, free: 76.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005852/1.12, allocations: 0.5819 MB / 0.7519 GB, free: 76.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004078/1.125, allocations: 0.7734 MB / 0.7526 GB, free: 76.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04552/1.17, allocations: 18.83 MB / 0.771 GB, free: 67.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005047/1.171, allocations: 95 kB / 0.7711 GB, free: 67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003328/1.174, allocations: 374 kB / 0.7715 GB, free: 66.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/1.177, allocations: 1.831 MB / 0.7732 GB, free: 66.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03192/1.209, allocations: 15.36 MB / 0.7882 GB, free: 58.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.465/1.674, allocations: 81.7 MB / 0.868 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.695, allocations: 8.611 MB / 0.8764 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006408/1.702, allocations: 4.669 MB / 0.881 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/1.724, allocations: 11.63 MB / 0.8923 GB, free: 42.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/1.724, allocations: 68.5 kB / 0.8924 GB, free: 42.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=347): time 7.825e-06/1.724, allocations: 0 / 0.8924 GB, free: 42.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=389): time 0.09272/1.817, allocations: 35.74 MB / 0.9273 GB, free: 33.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/1.817, allocations: 245.3 kB / 0.9276 GB, free: 33.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/1.829, allocations: 7.367 MB / 0.9347 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001105/1.831, allocations: 80.42 kB / 0.9348 GB, free: 30.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004156/1.835, allocations: 5.291 MB / 0.94 GB, free: 26.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002768/1.838, allocations: 1.444 MB / 0.9414 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00161/1.839, allocations: 204.6 kB / 0.9416 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007234/1.84, allocations: 0.7267 MB / 0.9423 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006872/1.847, allocations: 4.11 MB / 0.9463 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/1.858, allocations: 9.741 MB / 0.9558 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01906/1.877, allocations: 15.03 MB / 0.9705 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003098/1.878, allocations: 57.16 kB / 0.9706 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.03499/1.913, allocations: 15.28 MB / 0.9855 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003413/1.913, allocations: 88 kB / 0.9856 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005098/1.914, allocations: 196 kB / 0.9858 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004782/1.919, allocations: 1.707 MB / 0.9874 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/1.929, allocations: 2.43 MB / 0.9898 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/1.947, allocations: 11.61 MB / 1.001 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.957, allocations: 0.5835 MB / 1.002 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002753/1.96, allocations: 0.5799 MB / 1.002 GB, free: 14.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[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 (1228): * Single equations (assignments): 1223 * 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.01155/1.972, allocations: 3.624 MB / 1.006 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002232/1.974, allocations: 0.6516 MB / 1.006 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/1.992, allocations: 8.228 MB / 1.014 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.303e-05/1.992, allocations: 47.94 kB / 1.015 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/1.992, allocations: 8 kB / 1.015 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/1.992, allocations: 20.44 kB / 1.015 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04616/2.038, allocations: 18.54 MB / 1.033 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/2.038, allocations: 8 kB / 1.033 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003852/2.042, allocations: 0.7689 MB / 1.033 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003737/2.046, allocations: 1.418 MB / 1.035 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/2.047, allocations: 81.25 kB / 1.035 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/2.061, allocations: 10.64 MB / 1.045 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/2.061, allocations: 11.94 kB / 1.045 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02313/2.084, allocations: 13.05 MB / 1.058 GB, free: 11.57 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004562/2.089, allocations: 1.32 MB / 1.059 GB, free: 10.22 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/2.091, allocations: 67.98 kB / 1.059 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004365/2.096, allocations: 259.6 kB / 1.06 GB, free: 9.902 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009008/2.097, allocations: 238.8 kB / 1.06 GB, free: 9.672 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004749/2.097, allocations: 108 kB / 1.06 GB, free: 9.566 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0116/2.109, allocations: 4.73 MB / 1.065 GB, free: 4.867 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.31e-07/2.109, allocations: 4 kB / 1.065 GB, free: 4.863 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0118/2.121, allocations: 1.88 MB / 1.066 GB, free: 2.992 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.001131/2.122, allocations: 228 kB / 1.067 GB, free: 2.762 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0178/2.139, allocations: 10.11 MB / 1.077 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/2.139, allocations: 4 kB / 1.077 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007113/2.147, allocations: 4.04 MB / 1.08 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/2.16, allocations: 0.8213 MB / 1.081 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2988/2.459, allocations: 21.03 MB / 1.102 GB, free: 168 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01089/2.469, allocations: 5.492 MB / 1.107 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01054/2.48, allocations: 3.329 MB / 1.11 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002252/2.482, allocations: 455.8 kB / 1.111 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.132e-06/2.482, allocations: 0 / 1.111 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.1319/2.614, allocations: 71 MB / 1.18 GB, free: 156.2 MB / 0.5886 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches