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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 80.2 kB / 20.65 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.047/1.047, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1409/0.1409, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.19e-05, allocations: 2.312 kB / 348.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01215/0.01218, allocations: 16.09 MB / 364.3 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.02264, allocations: 5.003 MB / 369.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003798/0.02644, allocations: 127.4 kB / 369.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007285/0.03372, allocations: 5.373 MB / 374.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008246/0.04197, allocations: 2.915 MB / 377.7 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.04515, allocations: 1.185 MB / 378.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.0562, allocations: 7.552 MB / 386.4 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007209/0.06341, allocations: 5.354 MB / 391.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.0745, allocations: 4.616 MB / 396.4 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007214/0.08171, allocations: 3.714 MB / 400.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00319/0.0849, allocations: 0.5508 MB / 400.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.08932, allocations: 1.408 MB / 402 MB, free: 3.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.09398, allocations: 3.479 MB / 405.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006976/0.101, allocations: 2.15 MB / 407.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01792/0.1189, allocations: 7.302 MB / 415 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1189, allocations: 0 / 415 MB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1189, allocations: 0 / 415 MB, free: 6.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003604/0.1192, allocations: 0 / 415 MB, free: 6.055 MB / 346.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.01443/0.1337, allocations: 8.28 MB / 423.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1337, allocations: 12.02 kB / 423.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007077/0.1408, allocations: 2.552 MB / 425.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/0.1465, allocations: 3.44 MB / 429.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.1467, allocations: 386.2 kB / 429.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.1479, allocations: 0.5078 MB / 430.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.1639, allocations: 8.536 MB / 438.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.1642, allocations: 67.39 kB / 438.7 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005777/0.1648, allocations: 247.8 kB / 439 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002319/0.1671, allocations: 2.654 MB / 441.6 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009143/0.1762, allocations: 3.788 MB / 445.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.223/0.3993, allocations: 65.78 MB / 0.4992 GB, free: 40.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/0.4069, allocations: 2.485 MB / 0.5017 GB, free: 40.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.4081, allocations: 0.7046 MB / 0.5023 GB, free: 40.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008726/0.4168, allocations: 5.382 MB / 0.5076 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.4169, allocations: 60.89 kB / 0.5077 GB, free: 35.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=209): time 5.661e-06/0.4169, allocations: 0 / 0.5077 GB, free: 35.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.02498/0.4419, allocations: 9.263 MB / 0.5167 GB, free: 26.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.4419, allocations: 230.8 kB / 0.5169 GB, free: 26.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/0.4468, allocations: 5.552 MB / 0.5223 GB, free: 21.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.4471, allocations: 53.7 kB / 0.5224 GB, free: 21.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.4492, allocations: 5.443 MB / 0.5277 GB, free: 15.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.4502, allocations: 0.9501 MB / 0.5286 GB, free: 14.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.4517, allocations: 2.036 MB / 0.5306 GB, free: 12.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.4517, allocations: 476.8 kB / 0.5311 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.4532, allocations: 0.8844 MB / 0.5319 GB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003894/0.4571, allocations: 9.376 MB / 0.5411 GB, free: 14.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.4672, allocations: 11.17 MB / 0.552 GB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003532/0.4675, allocations: 56 kB / 0.5521 GB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01744/0.485, allocations: 7.559 MB / 0.5595 GB, free: 7.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4851, allocations: 95.31 kB / 0.5595 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000253/0.4853, allocations: 200 kB / 0.5597 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.4871, allocations: 0.6294 MB / 0.5603 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004653/0.4918, allocations: 2.051 MB / 0.5624 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/0.4971, allocations: 5.37 MB / 0.5676 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008134/0.5052, allocations: 407.7 kB / 0.568 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/0.5068, allocations: 488 kB / 0.5684 GB, free: 14.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 914 * 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 (1141): * Single equations (assignments): 1134 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002342/0.5091, allocations: 0.9175 MB / 0.5693 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/0.5103, allocations: 0.563 MB / 0.5699 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.5129, allocations: 1.719 MB / 0.5716 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5129, allocations: 24 kB / 0.5716 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5129, allocations: 4 kB / 0.5716 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5129, allocations: 7.969 kB / 0.5716 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.5234, allocations: 7.446 MB / 0.5789 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5234, allocations: 8 kB / 0.5789 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/0.5242, allocations: 303.5 kB / 0.5792 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.5254, allocations: 377.5 kB / 0.5795 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.5255, allocations: 43.98 kB / 0.5796 GB, free: 2.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.5291, allocations: 4.981 MB / 0.5844 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.5291, allocations: 19.59 kB / 0.5845 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.5329, allocations: 3.168 MB / 0.5876 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.534, allocations: 0.6745 MB / 0.5882 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.5343, allocations: 47.98 kB / 0.5883 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009126/0.5353, allocations: 47.98 kB / 0.5883 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.5355, allocations: 152.8 kB / 0.5885 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.323e-05/0.5355, allocations: 55.98 kB / 0.5885 GB, free: 9.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002322/0.5379, allocations: 2.222 MB / 0.5907 GB, free: 7.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5379, allocations: 0 / 0.5907 GB, free: 7.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004932/0.5428, allocations: 1.633 MB / 0.5923 GB, free: 5.52 MB / 442.7 MB 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 (184): * Single equations (assignments): 179 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003616/0.5432, allocations: 206.7 kB / 0.5925 GB, free: 5.309 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00493/0.5481, allocations: 4.262 MB / 0.5966 GB, free: 1.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5481, allocations: 0 / 0.5966 GB, free: 1.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.5494, allocations: 1.08 MB / 0.5977 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.5512, allocations: 0.6187 MB / 0.5983 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.5665, allocations: 11.92 MB / 0.6099 GB, free: 3.176 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.5685, allocations: 1.963 MB / 0.6118 GB, free: 1.188 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001872/0.5704, allocations: 0.7379 MB / 0.6126 GB, free: 456 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1518/0.7222, allocations: 0.8238 MB / 0.6134 GB, free: 152.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.813e-06/0.7222, allocations: 0 / 0.6134 GB, free: 152.2 MB / 458.7 MB Notification: Performance of Templates: time 0.06742/0.7896, allocations: 48.62 MB / 0.6608 GB, free: 121.2 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1928321700543165]