Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001949/0.001949, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 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.002414/0.002414, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.168e-05, allocations: 2.281 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.02031/0.02034, allocations: 11.38 MB / 336.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.03035, allocations: 4.11 MB / 340.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.03218, allocations: 99.5 kB / 340.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00729/0.03947, allocations: 3.796 MB / 344.4 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005531/0.04501, allocations: 2.098 MB / 346.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.04673, allocations: 0.7485 MB / 347.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006085/0.05282, allocations: 4.641 MB / 351.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.05769, allocations: 3.877 MB / 355.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.06213, allocations: 2.756 MB / 358.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.06624, allocations: 2.517 MB / 361.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007712/0.06701, allocations: 416 kB / 361.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.06937, allocations: 1.081 MB / 362.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00262/0.07199, allocations: 2.337 MB / 364.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.07431, allocations: 1.515 MB / 366.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.08471, allocations: 8.115 MB / 374.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.08472, allocations: 0 / 374.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08472, allocations: 0 / 374.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002158/0.08494, allocations: 0 / 374.5 MB, free: 3.484 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02115/0.1061, allocations: 6.397 MB / 380.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1061, allocations: 8.031 kB / 380.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007445/0.1136, allocations: 2.037 MB / 383 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005476/0.119, allocations: 2.608 MB / 385.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.1193, allocations: 295.6 kB / 385.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008547/0.1201, allocations: 399.8 kB / 386.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.1436, allocations: 12.25 MB / 398.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.1437, allocations: 47.64 kB / 398.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005431/0.1443, allocations: 183.9 kB / 398.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004434/0.1487, allocations: 2.194 MB / 400.9 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/0.1728, allocations: 11.18 MB / 412.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06264/0.2355, allocations: 43.69 MB / 455.8 MB, free: 196 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/0.2547, allocations: 4.948 MB / 460.8 MB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004633/0.2594, allocations: 3.072 MB / 463.8 MB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.2599, allocations: 145.1 kB / 464 MB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.26, allocations: 51.88 kB / 464 MB, free: 7.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=200): time 5.871e-06/0.26, allocations: 0 / 464 MB, free: 7.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.2489/0.5089, allocations: 27.67 MB / 491.7 MB, free: 120.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.509, allocations: 160.9 kB / 491.9 MB, free: 120.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004202/0.5132, allocations: 4.107 MB / 496 MB, free: 119.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005528/0.5137, allocations: 69.3 kB / 496 MB, free: 119.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.515, allocations: 3.56 MB / 499.6 MB, free: 116.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008932/0.5159, allocations: 0.9055 MB / 0.4888 GB, free: 115.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.5176, allocations: 1.462 MB / 0.4902 GB, free: 114.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.5177, allocations: 301.1 kB / 0.4905 GB, free: 114 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/0.5213, allocations: 3.296 MB / 0.4937 GB, free: 110.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004815/0.5261, allocations: 7.226 MB / 0.5008 GB, free: 101.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.537, allocations: 11.33 MB / 0.5118 GB, free: 88.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.5371, allocations: 44 kB / 0.5119 GB, free: 88.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01853/0.5556, allocations: 11.41 MB / 0.523 GB, free: 76.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.5558, allocations: 68.88 kB / 0.5231 GB, free: 76.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001938/0.556, allocations: 140 kB / 0.5232 GB, free: 76.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002773/0.5587, allocations: 1.117 MB / 0.5243 GB, free: 75.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006105/0.5648, allocations: 1.762 MB / 0.526 GB, free: 73.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006923/0.5718, allocations: 6.167 MB / 0.532 GB, free: 67.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/0.578, allocations: 439.7 kB / 0.5325 GB, free: 67.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.5792, allocations: 467.8 kB / 0.5329 GB, free: 66.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (834): * Single equations (assignments): 830 * 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.004301/0.5835, allocations: 2.337 MB / 0.5352 GB, free: 64.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/0.5847, allocations: 369.6 kB / 0.5355 GB, free: 63.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009725/0.5944, allocations: 6.108 MB / 0.5415 GB, free: 57.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.5944, allocations: 24 kB / 0.5415 GB, free: 57.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.5945, allocations: 8 kB / 0.5415 GB, free: 57.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.5945, allocations: 11.97 kB / 0.5415 GB, free: 57.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/0.6146, allocations: 11.42 MB / 0.5527 GB, free: 46.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.6146, allocations: 0 / 0.5527 GB, free: 46.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.6176, allocations: 0.5733 MB / 0.5533 GB, free: 45.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.6202, allocations: 0.9521 MB / 0.5542 GB, free: 44.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005145/0.6207, allocations: 99.89 kB / 0.5543 GB, free: 44.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006318/0.627, allocations: 5.914 MB / 0.5601 GB, free: 38.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.627, allocations: 7.938 kB / 0.5601 GB, free: 38.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.6406, allocations: 10.35 MB / 0.5702 GB, free: 28.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/0.6426, allocations: 0.7902 MB / 0.5709 GB, free: 27.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009565/0.6436, allocations: 47.38 kB / 0.571 GB, free: 27.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/0.6464, allocations: 199.3 kB / 0.5712 GB, free: 27.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/0.647, allocations: 205.5 kB / 0.5714 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003422/0.6474, allocations: 115.9 kB / 0.5715 GB, free: 26.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0039/0.6513, allocations: 2.388 MB / 0.5738 GB, free: 24.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6513, allocations: 4 kB / 0.5738 GB, free: 24.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006143/0.6574, allocations: 1.246 MB / 0.575 GB, free: 23.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0007631/0.6582, allocations: 202.7 kB / 0.5752 GB, free: 23.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009915/0.6681, allocations: 7.51 MB / 0.5826 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.6681, allocations: 0 / 0.5826 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003695/0.6718, allocations: 2.817 MB / 0.5853 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/0.6755, allocations: 437.7 kB / 0.5857 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.695, allocations: 11.83 MB / 0.5973 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005127/0.7002, allocations: 3.092 MB / 0.6003 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005528/0.7057, allocations: 2.231 MB / 0.6025 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/0.7074, allocations: 452.1 kB / 0.6029 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.7074, allocations: 0 / 0.6029 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Templates: time 0.2548/0.9622, allocations: 48.9 MB / 0.6507 GB, free: 136.9 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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: 7.090866398066282]