Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008794/0.0008794, allocations: 80 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003965/0.003965, allocations: 142.4 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8711/0.8711, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.509e-05, allocations: 6.281 kB / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.008811/0.008836, allocations: 11.47 MB / 331.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.01538, allocations: 4.103 MB / 335.3 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.01662, allocations: 99.5 kB / 335.4 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.02016, allocations: 3.816 MB / 339.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.02324, allocations: 2.161 MB / 341.3 MB, free: 104 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.0243, allocations: 0.7329 MB / 342.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.02789, allocations: 4.612 MB / 346.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/0.03086, allocations: 3.912 MB / 350.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.03329, allocations: 2.787 MB / 353.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.03533, allocations: 2.533 MB / 355.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003902/0.03572, allocations: 424 kB / 356.3 MB, free: 1.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.03695, allocations: 1.096 MB / 357.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.03836, allocations: 2.396 MB / 359.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.03951, allocations: 1.546 MB / 361.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.04517, allocations: 8.259 MB / 369.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.04518, allocations: 4 kB / 369.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.04518, allocations: 3.984 kB / 369.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.993e-05/0.04528, allocations: 4 kB / 369.6 MB, free: 3.68 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01016/0.05544, allocations: 6.432 MB / 376.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.05549, allocations: 8.922 kB / 376.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003492/0.05898, allocations: 2.022 MB / 378.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.06227, allocations: 2.619 MB / 380.7 MB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.06241, allocations: 295.6 kB / 381 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/0.06286, allocations: 391.8 kB / 381.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/0.0754, allocations: 12.46 MB / 393.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-05/0.07548, allocations: 47.62 kB / 393.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.07581, allocations: 187.8 kB / 394.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.07797, allocations: 2.249 MB / 396.3 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/0.09126, allocations: 11.36 MB / 407.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1911/0.2823, allocations: 44.05 MB / 451.7 MB, free: 109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009811/0.2921, allocations: 4.957 MB / 456.7 MB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.2944, allocations: 3.078 MB / 459.8 MB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.2947, allocations: 140 kB / 459.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2947, allocations: 58.72 kB / 460 MB, free: 108.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 4.93e-06/0.2947, allocations: 0 / 460 MB, free: 108.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.03681/0.3315, allocations: 27.79 MB / 487.8 MB, free: 89.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3316, allocations: 150.5 kB / 487.9 MB, free: 89.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.3346, allocations: 4.121 MB / 492 MB, free: 85.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.3347, allocations: 65.7 kB / 492.1 MB, free: 85.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/0.3356, allocations: 3.597 MB / 495.7 MB, free: 81.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004196/0.336, allocations: 0.9102 MB / 496.6 MB, free: 80.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.337, allocations: 1.474 MB / 498.1 MB, free: 79.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.337, allocations: 309.1 kB / 498.4 MB, free: 79.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/0.3395, allocations: 3.304 MB / 0.4899 GB, free: 75.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/0.3428, allocations: 7.261 MB / 0.497 GB, free: 66.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/0.3496, allocations: 11.38 MB / 0.5081 GB, free: 53.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-05/0.3497, allocations: 43.94 kB / 0.5082 GB, free: 53.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.0116/0.3612, allocations: 11.45 MB / 0.5193 GB, free: 41.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.3613, allocations: 71.62 kB / 0.5194 GB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.3614, allocations: 140 kB / 0.5196 GB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.3631, allocations: 1.121 MB / 0.5206 GB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.3661, allocations: 1.762 MB / 0.5224 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004939/0.371, allocations: 6.159 MB / 0.5284 GB, free: 32.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/0.375, allocations: 447.4 kB / 0.5288 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/0.3754, allocations: 467.8 kB / 0.5293 GB, free: 31.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.00294/0.3784, allocations: 2.361 MB / 0.5316 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.3788, allocations: 373.6 kB / 0.5319 GB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005537/0.3844, allocations: 6.123 MB / 0.5379 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.3844, allocations: 31.94 kB / 0.5379 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.3844, allocations: 4 kB / 0.5379 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.3844, allocations: 7.969 kB / 0.5379 GB, free: 22.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.3969, allocations: 11.45 MB / 0.5491 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.3969, allocations: 4 kB / 0.5491 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/0.3982, allocations: 0.5655 MB / 0.5497 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.3995, allocations: 0.9482 MB / 0.5506 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.3997, allocations: 107.8 kB / 0.5507 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/0.4039, allocations: 5.917 MB / 0.5565 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4039, allocations: 7.938 kB / 0.5565 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.4141, allocations: 10.37 MB / 0.5666 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/0.4159, allocations: 0.7941 MB / 0.5674 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.4163, allocations: 47.75 kB / 0.5674 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.4175, allocations: 195.7 kB / 0.5676 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/0.4179, allocations: 213.4 kB / 0.5678 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.418, allocations: 115.9 kB / 0.5679 GB, free: 7.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002878/0.4209, allocations: 2.396 MB / 0.5703 GB, free: 5.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4209, allocations: 0 / 0.5703 GB, free: 5.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004606/0.4255, allocations: 1.269 MB / 0.5715 GB, free: 4.227 MB / 426.7 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.0005124/0.426, allocations: 217.6 kB / 0.5717 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008336/0.4344, allocations: 7.538 MB / 0.5791 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4344, allocations: 4.188 kB / 0.5791 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.437, allocations: 2.82 MB / 0.5819 GB, free: 9.648 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4388, allocations: 450.9 kB / 0.5823 GB, free: 9.227 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.4531, allocations: 12.48 MB / 0.5945 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.4557, allocations: 3.133 MB / 0.5975 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.4571, allocations: 0.4962 MB / 0.598 GB, free: 9.012 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/0.4571, allocations: 0 / 0.598 GB, free: 9.012 MB / 458.7 MB Notification: Performance of Templates: time 0.2407/0.6978, allocations: 95.09 MB / 0.6909 GB, free: 76.52 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.536364054307342]