Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001016/0.001016, allocations: 176.2 kB / 16.76 MB, free: 5.047 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.317/1.317, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007572/0.0007574, allocations: 86.41 kB / 271.3 MB, free: 8.234 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.3239/0.3239, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.379/0.4987, allocations: 107.8 MB / 0.5852 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.499, allocations: 83.95 kB / 0.5853 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6065/1.106, allocations: 130.5 MB / 0.7128 GB, free: 84.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.106, allocations: 4 kB / 0.7128 GB, free: 84.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007483/1.106, allocations: 132.3 kB / 0.7129 GB, free: 84.34 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.02791/1.134, allocations: 6.864 MB / 0.7196 GB, free: 81.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/1.134, allocations: 9.719 kB / 0.7196 GB, free: 81.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/1.161, allocations: 5.499 MB / 0.725 GB, free: 80.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/1.18, allocations: 6.344 MB / 0.7312 GB, free: 79.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006383/1.181, allocations: 0.5039 MB / 0.7317 GB, free: 79.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/1.185, allocations: 0.6668 MB / 0.7323 GB, free: 79.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04383/1.229, allocations: 16.08 MB / 0.748 GB, free: 72.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007329/1.23, allocations: 91.08 kB / 0.7481 GB, free: 72.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004678/1.235, allocations: 327 kB / 0.7484 GB, free: 72.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002628/1.237, allocations: 1.548 MB / 0.75 GB, free: 72.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02658/1.264, allocations: 12.96 MB / 0.7626 GB, free: 68.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08045/1.345, allocations: 73.02 MB / 0.8339 GB, free: 8.797 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/1.358, allocations: 6.366 MB / 0.8401 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004738/1.363, allocations: 3.724 MB / 0.8438 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/1.38, allocations: 9.218 MB / 0.8528 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.565e-05/1.38, allocations: 68.56 kB / 0.8528 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 8.155e-06/1.38, allocations: 0 / 0.8528 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311): time 0.3572/1.737, allocations: 29.31 MB / 0.8815 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/1.738, allocations: 237.8 kB / 0.8817 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.748, allocations: 6.93 MB / 0.8885 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007769/1.749, allocations: 79.53 kB / 0.8885 GB, free: 91.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.752, allocations: 4.843 MB / 0.8933 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.754, allocations: 1.18 MB / 0.8944 GB, free: 88.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/1.755, allocations: 181.6 kB / 0.8946 GB, free: 88.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004752/1.755, allocations: 0.6861 MB / 0.8953 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006715/1.762, allocations: 3.57 MB / 0.8988 GB, free: 88.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009659/1.772, allocations: 8.901 MB / 0.9074 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.786, allocations: 13.54 MB / 0.9207 GB, free: 69.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003608/1.787, allocations: 52.34 kB / 0.9207 GB, free: 69.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.02592/1.813, allocations: 13.71 MB / 0.9341 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.813, allocations: 90.12 kB / 0.9342 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/1.813, allocations: 187.1 kB / 0.9344 GB, free: 64.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003534/1.817, allocations: 1.678 MB / 0.936 GB, free: 64.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007267/1.824, allocations: 2.143 MB / 0.9381 GB, free: 64.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.836, allocations: 11.37 MB / 0.9492 GB, free: 58.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008584/1.845, allocations: 0.5382 MB / 0.9497 GB, free: 58.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001999/1.847, allocations: 0.5357 MB / 0.9503 GB, free: 57.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.00845/1.855, allocations: 3.229 MB / 0.9534 GB, free: 56.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/1.857, allocations: 0.5882 MB / 0.954 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/1.869, allocations: 6.751 MB / 0.9606 GB, free: 53.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.024e-05/1.869, allocations: 39.36 kB / 0.9606 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/1.869, allocations: 9.969 kB / 0.9606 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/1.869, allocations: 17.41 kB / 0.9606 GB, free: 53.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/1.9, allocations: 15.2 MB / 0.9755 GB, free: 47.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-05/1.901, allocations: 4 kB / 0.9755 GB, free: 47.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.903, allocations: 0.565 MB / 0.976 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/1.907, allocations: 1.415 MB / 0.9774 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005172/1.907, allocations: 62.67 kB / 0.9775 GB, free: 45.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01156/1.919, allocations: 10.52 MB / 0.9878 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.919, allocations: 7.938 kB / 0.9878 GB, free: 36.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.935, allocations: 10.98 MB / 0.9985 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00339/1.938, allocations: 1.16 MB / 0.9996 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/1.94, allocations: 59.55 kB / 0.9997 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/1.944, allocations: 210.1 kB / 0.9999 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007061/1.945, allocations: 191.4 kB / 1 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003344/1.945, allocations: 90.33 kB / 1 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008694/1.954, allocations: 4.43 MB / 1.004 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/1.954, allocations: 0 / 1.004 GB, free: 21.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01079/1.965, allocations: 1.659 MB / 1.006 GB, free: 19.84 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.0009132/1.966, allocations: 202.3 kB / 1.006 GB, free: 19.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01374/1.979, allocations: 8.82 MB / 1.015 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.979, allocations: 4.375 kB / 1.015 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005066/1.984, allocations: 3.388 MB / 1.018 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01023/1.995, allocations: 0.7554 MB / 1.019 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/2.027, allocations: 18.33 MB / 1.037 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009179/2.036, allocations: 4.901 MB / 1.042 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009691/2.046, allocations: 2.979 MB / 1.045 GB, free: 8 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/2.048, allocations: 407.4 kB / 1.045 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/2.048, allocations: 4 kB / 1.045 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of Templates: time 0.3818/2.43, allocations: 63.84 MB / 1.107 GB, free: 107.3 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches