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.001331/0.001331, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001494/0.001494, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.001532/0.001532, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2058, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01463/0.2204, allocations: 11.35 MB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.2288, allocations: 4.112 MB / 447.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.2299, allocations: 95.5 kB / 447.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00672/0.2366, allocations: 3.606 MB / 451.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.2408, allocations: 2.039 MB / 453.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2422, allocations: 0.6981 MB / 454.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005045/0.2473, allocations: 4.224 MB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00425/0.2515, allocations: 3.627 MB / 462.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.2538, allocations: 1.854 MB / 463.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.2571, allocations: 2.632 MB / 466.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007455/0.2579, allocations: 408 kB / 467 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.2598, allocations: 1.038 MB / 468 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002106/0.2619, allocations: 2.248 MB / 470.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002118/0.264, allocations: 1.922 MB / 472.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008756/0.2728, allocations: 8.148 MB / 480.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2728, allocations: 4 kB / 480.3 MB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2728, allocations: 4 kB / 480.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001409/0.2729, allocations: 0 / 480.3 MB, free: 6.48 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.02084/0.2938, allocations: 6.237 MB / 486.6 MB, free: 188 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2938, allocations: 8.031 kB / 486.6 MB, free: 180 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007252/0.3011, allocations: 1.996 MB / 488.6 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/0.3069, allocations: 2.618 MB / 491.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.3071, allocations: 291.5 kB / 491.5 MB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008032/0.3079, allocations: 387.8 kB / 491.9 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.3312, allocations: 12.18 MB / 0.4922 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.3314, allocations: 51.58 kB / 0.4923 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005227/0.3319, allocations: 183.8 kB / 0.4924 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004243/0.3361, allocations: 2.198 MB / 0.4946 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/0.3582, allocations: 11.1 MB / 0.5054 GB, free: 372 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2374/0.5956, allocations: 43.46 MB / 0.5479 GB, free: 72.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/0.6124, allocations: 4.706 MB / 0.5525 GB, free: 71.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.6153, allocations: 3.075 MB / 0.5555 GB, free: 70.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.6157, allocations: 134.5 kB / 0.5556 GB, free: 70.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.6158, allocations: 54.59 kB / 0.5556 GB, free: 70.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.809e-06/0.6158, allocations: 4.906 kB / 0.5557 GB, free: 70.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06541/0.6812, allocations: 26.82 MB / 0.5818 GB, free: 51.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6812, allocations: 150.5 kB / 0.582 GB, free: 51.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/0.6848, allocations: 4.031 MB / 0.5859 GB, free: 47.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000249/0.685, allocations: 61.45 kB / 0.586 GB, free: 47.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.6862, allocations: 3.59 MB / 0.5895 GB, free: 43.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.6868, allocations: 0.917 MB / 0.5904 GB, free: 42.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.6883, allocations: 1.455 MB / 0.5918 GB, free: 41.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.6883, allocations: 305.1 kB / 0.5921 GB, free: 41.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/0.6917, allocations: 3.284 MB / 0.5953 GB, free: 37.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/0.6963, allocations: 7.216 MB / 0.6024 GB, free: 28.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008789/0.7051, allocations: 11.32 MB / 0.6134 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.622e-05/0.7052, allocations: 44 kB / 0.6134 GB, free: 15.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01427/0.7194, allocations: 11.35 MB / 0.6245 GB, free: 4.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.7195, allocations: 69.44 kB / 0.6246 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.327e-05/0.7196, allocations: 140.9 kB / 0.6247 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/0.7221, allocations: 1.122 MB / 0.6258 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/0.7272, allocations: 1.723 MB / 0.6275 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008405/0.7356, allocations: 6.166 MB / 0.6335 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/0.7403, allocations: 403.7 kB / 0.6339 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007024/0.741, allocations: 455.8 kB / 0.6344 GB, free: 10.03 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.003597/0.7446, allocations: 2.322 MB / 0.6366 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007185/0.7453, allocations: 365.9 kB / 0.637 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.7562, allocations: 6.061 MB / 0.6429 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/0.7563, allocations: 28 kB / 0.6429 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.7563, allocations: 4 kB / 0.6429 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.7563, allocations: 19.89 kB / 0.6429 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/0.7777, allocations: 11.26 MB / 0.6539 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.7777, allocations: 4 kB / 0.6539 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/0.7807, allocations: 0.5304 MB / 0.6545 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.7836, allocations: 0.9483 MB / 0.6554 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/0.7838, allocations: 87.89 kB / 0.6555 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008452/0.7923, allocations: 5.908 MB / 0.6612 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7923, allocations: 4 kB / 0.6612 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/0.8084, allocations: 10.3 MB / 0.6713 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/0.8108, allocations: 0.7784 MB / 0.6721 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/0.8113, allocations: 43.98 kB / 0.6721 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.8135, allocations: 155.8 kB / 0.6722 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000536/0.814, allocations: 192.9 kB / 0.6724 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/0.8143, allocations: 107.9 kB / 0.6725 GB, free: 2.727 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003507/0.8178, allocations: 2.317 MB / 0.6748 GB, free: 436 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8178, allocations: 4 kB / 0.6748 GB, free: 432 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.005035/0.8228, allocations: 1.172 MB / 0.6759 GB, free: 15.25 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.0004844/0.8233, allocations: 186 kB / 0.6761 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01179/0.8351, allocations: 7.475 MB / 0.6834 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.8351, allocations: 0 / 0.6834 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.8397, allocations: 2.801 MB / 0.6862 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.8422, allocations: 437.9 kB / 0.6866 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.8617, allocations: 11.94 MB / 0.6982 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/0.8657, allocations: 3.107 MB / 0.7013 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005306/0.8711, allocations: 2.223 MB / 0.7034 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/0.8724, allocations: 395.1 kB / 0.7038 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of SimCode: time 1.092e-06/0.8724, allocations: 3.938 kB / 0.7038 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of Templates: time 0.2742/1.147, allocations: 56.3 MB / 0.7588 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 -s gbode -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: 6.9229764379997505]