Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001608/0.001608, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002243/0.002243, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 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.497/1.497, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.86 kB / 347.7 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3506, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01393/0.3645, allocations: 10.3 MB / 407.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.3752, allocations: 3.733 MB / 410.9 MB, free: 348 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00449/0.3797, allocations: 78.47 kB / 411 MB, free: 324 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00751/0.3872, allocations: 2.654 MB / 413.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009054/0.3963, allocations: 1.941 MB / 415.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.3989, allocations: 0.5776 MB / 416.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009288/0.4082, allocations: 3.756 MB / 419.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006874/0.4151, allocations: 2.826 MB / 422.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/0.4196, allocations: 1.554 MB / 424.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.4243, allocations: 2.176 MB / 426.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.4259, allocations: 340 kB / 426.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.4296, allocations: 0.9635 MB / 427.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.4328, allocations: 1.983 MB / 429.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004498/0.4373, allocations: 1.662 MB / 431.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.4502, allocations: 7.24 MB / 438.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.4502, allocations: 4 kB / 438.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4502, allocations: 0 / 438.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003281/0.4505, allocations: 0 / 438.6 MB, free: 9.258 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0247/0.4752, allocations: 5.36 MB / 444 MB, free: 3.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.4753, allocations: 11.98 kB / 444 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007421/0.4827, allocations: 1.917 MB / 445.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/0.4893, allocations: 2.345 MB / 448.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.4895, allocations: 234 kB / 448.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007988/0.4903, allocations: 315.8 kB / 448.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.5121, allocations: 10.72 MB / 459.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001434/0.5122, allocations: 47.64 kB / 459.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004498/0.5127, allocations: 151.9 kB / 459.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003566/0.5163, allocations: 1.982 MB / 461.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.5376, allocations: 9.554 MB / 471.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05896/0.5965, allocations: 37.16 MB / 0.4965 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.6099, allocations: 3.252 MB / 0.4997 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.6128, allocations: 1.744 MB / 0.5014 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.6134, allocations: 128.7 kB / 0.5015 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.6134, allocations: 51.56 kB / 0.5015 GB, free: 12.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.641e-06/0.6135, allocations: 4 kB / 0.5015 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04776/0.6612, allocations: 13.84 MB / 0.5151 GB, free: 14.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6613, allocations: 145.5 kB / 0.5152 GB, free: 14.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006286/0.6676, allocations: 3.835 MB / 0.5189 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003403/0.6679, allocations: 53.7 kB / 0.519 GB, free: 10.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/0.6707, allocations: 3.327 MB / 0.5222 GB, free: 6.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009245/0.6716, allocations: 0.6397 MB / 0.5229 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/0.6739, allocations: 1.238 MB / 0.5241 GB, free: 5.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.674, allocations: 305.1 kB / 0.5244 GB, free: 4.793 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.6776, allocations: 2.135 MB / 0.5265 GB, free: 2.652 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00685/0.6845, allocations: 5.956 MB / 0.5323 GB, free: 10.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.6976, allocations: 8.768 MB / 0.5408 GB, free: 96 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001792/0.6978, allocations: 40 kB / 0.5409 GB, free: 56 kB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01855/0.7163, allocations: 8.543 MB / 0.5492 GB, free: 7.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.7165, allocations: 64 kB / 0.5493 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002808/0.7168, allocations: 136 kB / 0.5494 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.7196, allocations: 0.9187 MB / 0.5503 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00501/0.7246, allocations: 1.4 MB / 0.5517 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.212/0.9365, allocations: 5.029 MB / 0.5566 GB, free: 138.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/0.9424, allocations: 320.9 kB / 0.5569 GB, free: 138.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/0.9439, allocations: 384.3 kB / 0.5573 GB, free: 138.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005901/0.9498, allocations: 2.102 MB / 0.5593 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.9508, allocations: 326.1 kB / 0.5596 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/0.9576, allocations: 3.091 MB / 0.5626 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-05/0.9577, allocations: 23.39 kB / 0.5627 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/0.9577, allocations: 3.375 kB / 0.5627 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.9577, allocations: 7.875 kB / 0.5627 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.9726, allocations: 6.753 MB / 0.5693 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.9726, allocations: 1.219 kB / 0.5693 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.9738, allocations: 261.8 kB / 0.5695 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.976, allocations: 0.7115 MB / 0.5702 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.9761, allocations: 38.98 kB / 0.5702 GB, free: 134.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/0.9819, allocations: 4.582 MB / 0.5747 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9819, allocations: 1.375 kB / 0.5747 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/0.99, allocations: 5.649 MB / 0.5802 GB, free: 130.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/0.9918, allocations: 0.5185 MB / 0.5807 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008341/0.9927, allocations: 25.5 kB / 0.5808 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.9945, allocations: 81.16 kB / 0.5808 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/0.9948, allocations: 110.1 kB / 0.5809 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/0.995, allocations: 54.17 kB / 0.581 GB, free: 130 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004348/0.9994, allocations: 2.2 MB / 0.5831 GB, free: 129.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9994, allocations: 0 / 0.5831 GB, free: 129.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006903/1.006, allocations: 0.9658 MB / 0.5841 GB, free: 129.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006287/1.007, allocations: 148.4 kB / 0.5842 GB, free: 129.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007641/1.015, allocations: 4.925 MB / 0.589 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.015, allocations: 2 kB / 0.589 GB, free: 127.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.017, allocations: 1.435 MB / 0.5904 GB, free: 126.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/1.02, allocations: 371 kB / 0.5908 GB, free: 126.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.037, allocations: 9.133 MB / 0.5997 GB, free: 117.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005084/1.042, allocations: 2.698 MB / 0.6024 GB, free: 114.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004542/1.046, allocations: 1.883 MB / 0.6042 GB, free: 112.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/1.047, allocations: 251.3 kB / 0.6044 GB, free: 112.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/1.047, allocations: 0 / 0.6044 GB, free: 112.6 MB / 478.1 MB Notification: Performance of Templates: time 0.05849/1.106, allocations: 33.92 MB / 0.6376 GB, free: 78.65 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.901881782338023]