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.001418/0.001418, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001678/0.001678, allocations: 207.2 kB / 24.47 MB, free: 3.977 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.709/1.709, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.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 0.001599/0.001599, allocations: 44.06 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4374, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0157/0.4531, allocations: 11.36 MB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.4647, allocations: 4.104 MB / 447.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.4679, allocations: 95.56 kB / 447.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008184/0.4761, allocations: 3.606 MB / 451.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007804/0.4839, allocations: 2.039 MB / 453.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.4868, allocations: 0.702 MB / 454.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008602/0.4954, allocations: 4.225 MB / 458.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006154/0.5016, allocations: 3.623 MB / 462.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004401/0.506, allocations: 1.861 MB / 463.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005457/0.5115, allocations: 2.632 MB / 466.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.5132, allocations: 408 kB / 467 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.5165, allocations: 1.034 MB / 468 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00346/0.52, allocations: 2.248 MB / 470.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004461/0.5244, allocations: 1.93 MB / 472.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.5379, allocations: 8.144 MB / 480.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.5379, allocations: 0 / 480.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5379, allocations: 0 / 480.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003342/0.5382, allocations: 0 / 480.3 MB, free: 6.5 MB / 382.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.02756/0.5658, allocations: 6.241 MB / 486.6 MB, free: 204 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.5658, allocations: 12.03 kB / 486.6 MB, free: 192 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008464/0.5743, allocations: 1.996 MB / 488.6 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007717/0.582, allocations: 2.614 MB / 491.2 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.5823, allocations: 295.5 kB / 491.5 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/0.5839, allocations: 395.7 kB / 491.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03042/0.6144, allocations: 12.18 MB / 0.4922 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002005/0.6146, allocations: 47.64 kB / 0.4923 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007871/0.6154, allocations: 183.8 kB / 0.4924 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004595/0.62, allocations: 2.201 MB / 0.4946 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/0.6459, allocations: 11.1 MB / 0.5054 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4472/1.093, allocations: 43.45 MB / 0.5479 GB, free: 72.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.111, allocations: 4.706 MB / 0.5525 GB, free: 72.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/1.114, allocations: 3.072 MB / 0.5555 GB, free: 71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005439/1.115, allocations: 140 kB / 0.5556 GB, free: 70.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.115, allocations: 53.88 kB / 0.5557 GB, free: 70.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.35e-06/1.115, allocations: 0.7812 kB / 0.5557 GB, free: 70.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07042/1.185, allocations: 26.83 MB / 0.5819 GB, free: 51.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.185, allocations: 150.5 kB / 0.582 GB, free: 51.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/1.19, allocations: 4.027 MB / 0.5859 GB, free: 47.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008081/1.191, allocations: 61.7 kB / 0.586 GB, free: 47.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/1.193, allocations: 3.589 MB / 0.5895 GB, free: 43.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.194, allocations: 0.914 MB / 0.5904 GB, free: 42.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001831/1.196, allocations: 1.455 MB / 0.5918 GB, free: 41.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.55e-05/1.196, allocations: 309.1 kB / 0.5921 GB, free: 41.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003482/1.199, allocations: 3.281 MB / 0.5953 GB, free: 37.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/1.204, allocations: 7.224 MB / 0.6024 GB, free: 28.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.215, allocations: 11.31 MB / 0.6134 GB, free: 15.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.215, allocations: 40 kB / 0.6134 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01841/1.233, allocations: 11.36 MB / 0.6245 GB, free: 4.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/1.234, allocations: 65.5 kB / 0.6246 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002559/1.234, allocations: 140 kB / 0.6247 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/1.237, allocations: 1.125 MB / 0.6258 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006729/1.243, allocations: 1.723 MB / 0.6275 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009567/1.253, allocations: 6.171 MB / 0.6335 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006265/1.259, allocations: 399.6 kB / 0.6339 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.261, allocations: 447.8 kB / 0.6343 GB, free: 10.07 MB / 462.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.005269/1.266, allocations: 2.326 MB / 0.6366 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.267, allocations: 369.2 kB / 0.637 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.278, allocations: 6.057 MB / 0.6429 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-05/1.279, allocations: 31.45 kB / 0.6429 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.279, allocations: 4 kB / 0.6429 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/1.279, allocations: 15.89 kB / 0.6429 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.302, allocations: 11.26 MB / 0.6539 GB, free: 5.973 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.302, allocations: 4.312 kB / 0.6539 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.305, allocations: 0.5382 MB / 0.6545 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/1.308, allocations: 0.945 MB / 0.6554 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003512/1.309, allocations: 83.89 kB / 0.6555 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008664/1.317, allocations: 5.911 MB / 0.6612 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.317, allocations: 7.938 kB / 0.6612 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/1.335, allocations: 10.29 MB / 0.6713 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003134/1.338, allocations: 0.7784 MB / 0.672 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007088/1.339, allocations: 55.75 kB / 0.6721 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.341, allocations: 151.8 kB / 0.6722 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005668/1.341, allocations: 193.5 kB / 0.6724 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/1.342, allocations: 103.9 kB / 0.6725 GB, free: 2.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003978/1.346, allocations: 2.317 MB / 0.6748 GB, free: 480 kB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.346, allocations: 0 / 0.6748 GB, free: 480 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.007435/1.353, allocations: 1.176 MB / 0.6759 GB, free: 15.29 MB / 0.4981 GB 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.0006483/1.354, allocations: 190.2 kB / 0.6761 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.367, allocations: 7.476 MB / 0.6834 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.367, allocations: 0 / 0.6834 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.371, allocations: 2.79 MB / 0.6861 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/1.375, allocations: 441.2 kB / 0.6866 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/1.404, allocations: 11.95 MB / 0.6982 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005452/1.409, allocations: 3.107 MB / 0.7013 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006523/1.416, allocations: 2.215 MB / 0.7034 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/1.418, allocations: 395.1 kB / 0.7038 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of SimCode: time 1.814e-06/1.418, allocations: 4 kB / 0.7038 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of Templates: time 0.4293/1.847, allocations: 56.3 MB / 0.7588 GB, free: 208.6 MB / 0.5606 GB " [Timeout remaining time 658] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/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: 9.694024812008138]