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.001571/0.001571, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001624/0.001624, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001636/0.001636, allocations: 51.91 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2716, allocations: 53.38 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0149/0.2865, allocations: 11.35 MB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.2965, allocations: 4.104 MB / 447 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.2989, allocations: 95.56 kB / 447.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007546/0.3065, allocations: 3.61 MB / 450.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.3126, allocations: 2.039 MB / 452.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.3145, allocations: 0.6941 MB / 453.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006667/0.3212, allocations: 4.221 MB / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005641/0.3268, allocations: 3.626 MB / 461.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.3308, allocations: 1.857 MB / 463.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.3358, allocations: 2.632 MB / 465.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001483/0.3373, allocations: 408 kB / 466.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.3402, allocations: 1.042 MB / 467.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002909/0.3431, allocations: 2.252 MB / 469.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.3469, allocations: 1.926 MB / 471.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.3591, allocations: 8.14 MB / 479.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3591, allocations: 0 / 479.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3591, allocations: 0 / 479.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000356/0.3594, allocations: 0 / 479.6 MB, free: 6.508 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.02288/0.3823, allocations: 6.248 MB / 485.8 MB, free: 204 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3824, allocations: 12.03 kB / 485.8 MB, free: 192 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007639/0.39, allocations: 1.996 MB / 487.8 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.3975, allocations: 2.622 MB / 490.4 MB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.3978, allocations: 283.5 kB / 490.7 MB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.3994, allocations: 395.8 kB / 491.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.4247, allocations: 12.17 MB / 0.4915 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.4249, allocations: 55.56 kB / 0.4915 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006109/0.4255, allocations: 183.8 kB / 0.4917 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004366/0.4298, allocations: 2.19 MB / 0.4939 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/0.4549, allocations: 11.11 MB / 0.5047 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3203/0.7751, allocations: 43.45 MB / 0.5471 GB, free: 72.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01624/0.7914, allocations: 4.711 MB / 0.5517 GB, free: 72.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/0.7946, allocations: 3.063 MB / 0.5547 GB, free: 70.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004829/0.7951, allocations: 144.9 kB / 0.5549 GB, free: 70.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.7951, allocations: 58.34 kB / 0.5549 GB, free: 70.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.019e-06/0.7951, allocations: 1.312 kB / 0.5549 GB, free: 70.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06261/0.8577, allocations: 26.83 MB / 0.5811 GB, free: 51.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.8578, allocations: 150.5 kB / 0.5813 GB, free: 51.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/0.8614, allocations: 4.024 MB / 0.5852 GB, free: 47.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.8616, allocations: 65.7 kB / 0.5853 GB, free: 47.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.8628, allocations: 3.587 MB / 0.5888 GB, free: 43.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/0.8634, allocations: 0.9131 MB / 0.5897 GB, free: 42.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.8648, allocations: 1.459 MB / 0.5911 GB, free: 41.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.8649, allocations: 308.2 kB / 0.5914 GB, free: 41.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003419/0.8683, allocations: 3.281 MB / 0.5946 GB, free: 37.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004672/0.873, allocations: 7.216 MB / 0.6016 GB, free: 28.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009145/0.8821, allocations: 11.32 MB / 0.6127 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.335e-05/0.8822, allocations: 40 kB / 0.6127 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01475/0.8969, allocations: 11.36 MB / 0.6238 GB, free: 4.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.897, allocations: 68.03 kB / 0.6239 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.8971, allocations: 136 kB / 0.624 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.8995, allocations: 1.128 MB / 0.6251 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/0.9048, allocations: 1.715 MB / 0.6268 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/0.9135, allocations: 6.166 MB / 0.6328 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/0.9199, allocations: 403.7 kB / 0.6332 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/0.921, allocations: 455.8 kB / 0.6336 GB, free: 10.08 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.004463/0.9255, allocations: 2.318 MB / 0.6359 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000867/0.9263, allocations: 369.5 kB / 0.6362 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.9374, allocations: 6.059 MB / 0.6422 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.034e-05/0.9374, allocations: 27.98 kB / 0.6422 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.9374, allocations: 4 kB / 0.6422 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.669e-05/0.9374, allocations: 9.844 kB / 0.6422 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/0.9594, allocations: 11.26 MB / 0.6532 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.9594, allocations: 4 kB / 0.6532 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/0.9622, allocations: 0.5304 MB / 0.6537 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/0.9648, allocations: 0.953 MB / 0.6546 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.9651, allocations: 87.91 kB / 0.6547 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008555/0.9736, allocations: 5.91 MB / 0.6605 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.9736, allocations: 11.88 kB / 0.6605 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/0.9904, allocations: 10.3 MB / 0.6706 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/0.993, allocations: 0.7706 MB / 0.6713 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/0.9937, allocations: 40 kB / 0.6714 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.9957, allocations: 155.8 kB / 0.6715 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005047/0.9962, allocations: 197.5 kB / 0.6717 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/0.9964, allocations: 99.89 kB / 0.6718 GB, free: 2.789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003506/0.9999, allocations: 2.321 MB / 0.6741 GB, free: 496 kB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.9999, allocations: 0 / 0.6741 GB, free: 496 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.006788/1.007, allocations: 1.176 MB / 0.6752 GB, free: 15.3 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.0008059/1.008, allocations: 187.7 kB / 0.6754 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.02, allocations: 7.472 MB / 0.6827 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.02, allocations: 4.938 kB / 0.6827 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004423/1.024, allocations: 2.796 MB / 0.6854 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.027, allocations: 436.5 kB / 0.6858 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.053, allocations: 11.97 MB / 0.6975 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006874/1.06, allocations: 3.1 MB / 0.7005 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006408/1.067, allocations: 2.223 MB / 0.7027 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/1.069, allocations: 395.1 kB / 0.7031 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/1.069, allocations: 4 kB / 0.7031 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of Templates: time 0.3287/1.397, allocations: 56.29 MB / 0.7581 GB, free: 208.5 MB / 0.5606 GB " [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.53053371515125]