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.001088/0.001088, allocations: 187 kB / 16.64 MB, free: 5.133 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.223/1.223, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0008605/0.0008607, allocations: 100.8 kB / 269.9 MB, free: 8.438 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.3108/0.3108, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.91 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1092, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2876/0.3968, allocations: 90.53 MB / 0.564 GB, free: 5.406 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.04105/0.4379, allocations: 17.26 MB / 0.5809 GB, free: 9.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01959/0.4576, allocations: 392.7 kB / 0.5812 GB, free: 9.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01103/0.4686, allocations: 5.059 MB / 0.5862 GB, free: 7.465 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009631/0.4784, allocations: 2.551 MB / 0.5887 GB, free: 6.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.4816, allocations: 1.006 MB / 0.5896 GB, free: 5.824 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.4958, allocations: 10.09 MB / 0.5995 GB, free: 1.848 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.5061, allocations: 5.846 MB / 0.6052 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/0.5113, allocations: 2.285 MB / 0.6074 GB, free: 10.1 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006256/0.5176, allocations: 3.727 MB / 0.6111 GB, free: 6.359 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001957/0.5196, allocations: 400 kB / 0.6115 GB, free: 5.969 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.5239, allocations: 1.334 MB / 0.6128 GB, free: 4.633 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004984/0.5289, allocations: 3.132 MB / 0.6158 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008639/0.5376, allocations: 3.51 MB / 0.6193 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01549/0.5531, allocations: 10.88 MB / 0.6299 GB, free: 3.043 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.5532, allocations: 0 / 0.6299 GB, free: 3.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5532, allocations: 0 / 0.6299 GB, free: 3.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005188/0.5537, allocations: 0 / 0.6299 GB, free: 3.043 MB / 442.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.02573/0.5795, allocations: 7.923 MB / 0.6376 GB, free: 11.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5795, allocations: 8.031 kB / 0.6376 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.5939, allocations: 2.823 MB / 0.6404 GB, free: 8.191 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.6069, allocations: 4.527 MB / 0.6448 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004748/0.6075, allocations: 382.4 kB / 0.6452 GB, free: 3.207 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/0.6101, allocations: 0.4996 MB / 0.6457 GB, free: 2.707 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/0.6429, allocations: 15.64 MB / 0.6609 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/0.6431, allocations: 67.38 kB / 0.661 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006797/0.6438, allocations: 247.8 kB / 0.6612 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004907/0.6487, allocations: 3.055 MB / 0.6642 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/0.6751, allocations: 13.25 MB / 0.6772 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3294/1.005, allocations: 61.6 MB / 0.7373 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/1.018, allocations: 6.664 MB / 0.7438 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/1.023, allocations: 4.019 MB / 0.7477 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01641/1.04, allocations: 9.475 MB / 0.757 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.268e-05/1.04, allocations: 62.75 kB / 0.7571 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=269): time 6.662e-06/1.04, allocations: 3.938 kB / 0.7571 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=311): time 0.07837/1.118, allocations: 32.56 MB / 0.7889 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/1.118, allocations: 246.6 kB / 0.7891 GB, free: 89.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009733/1.128, allocations: 6.991 MB / 0.7959 GB, free: 83.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008986/1.129, allocations: 77.14 kB / 0.796 GB, free: 83.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/1.132, allocations: 4.762 MB / 0.8006 GB, free: 78.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.133, allocations: 1.189 MB / 0.8018 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002415/1.136, allocations: 1.915 MB / 0.8037 GB, free: 75.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/1.136, allocations: 301.1 kB / 0.804 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/1.141, allocations: 3.926 MB / 0.8078 GB, free: 71.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006976/1.147, allocations: 9.244 MB / 0.8168 GB, free: 59.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/1.162, allocations: 14.12 MB / 0.8306 GB, free: 42.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/1.163, allocations: 56 kB / 0.8307 GB, free: 42.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02799/1.191, allocations: 14.98 MB / 0.8453 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/1.191, allocations: 86.66 kB / 0.8454 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002736/1.191, allocations: 188.8 kB / 0.8456 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/1.197, allocations: 2.296 MB / 0.8478 GB, free: 25.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007078/1.204, allocations: 2.164 MB / 0.8499 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/1.219, allocations: 13.48 MB / 0.8631 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008922/1.228, allocations: 0.546 MB / 0.8636 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.23, allocations: 0.5468 MB / 0.8641 GB, free: 8.078 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * 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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006655/1.237, allocations: 3.23 MB / 0.8673 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002286/1.239, allocations: 0.59 MB / 0.8679 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.254, allocations: 7.71 MB / 0.8754 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-05/1.254, allocations: 36 kB / 0.8754 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.229e-05/1.254, allocations: 8 kB / 0.8754 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.566e-05/1.254, allocations: 11.95 kB / 0.8755 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2994/1.554, allocations: 16.26 MB / 0.8913 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/1.554, allocations: 4.656 kB / 0.8913 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00343/1.557, allocations: 0.5243 MB / 0.8919 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00555/1.563, allocations: 2.033 MB / 0.8938 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006101/1.563, allocations: 58.28 kB / 0.8939 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.579, allocations: 12.65 MB / 0.9063 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.579, allocations: 10.66 kB / 0.9063 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1266/1.705, allocations: 78.92 MB / 0.9833 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/1.709, allocations: 1.191 MB / 0.9845 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008648/1.709, allocations: 59.58 kB / 0.9846 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002603/1.712, allocations: 218.5 kB / 0.9848 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/1.713, allocations: 197.5 kB / 0.985 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.713, allocations: 80 kB / 0.985 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005482/1.718, allocations: 4.476 MB / 0.9894 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.31e-07/1.718, allocations: 0 / 0.9894 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01012/1.728, allocations: 2.355 MB / 0.9917 GB, free: 91.17 MB / 0.5105 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006114/1.729, allocations: 202 kB / 0.9919 GB, free: 90.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.742, allocations: 9.436 MB / 1.001 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.742, allocations: 0 / 1.001 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005716/1.747, allocations: 3.727 MB / 1.005 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005802/1.753, allocations: 0.72 MB / 1.005 GB, free: 77.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/1.786, allocations: 22.01 MB / 1.027 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007825/1.794, allocations: 5.007 MB / 1.032 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007926/1.802, allocations: 3.027 MB / 1.035 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/1.804, allocations: 419.3 kB / 1.035 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/1.804, allocations: 4 kB / 1.035 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.3581/2.162, allocations: 88.89 MB / 1.122 GB, free: 127.9 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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