Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001371/0.001371, allocations: 89.33 kB / 21.44 MB, free: 272 kB / 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.001387/0.001387, allocations: 161.1 kB / 24.7 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 298.9 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.915e-05/4.148e-05, allocations: 2.281 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01551/0.01555, allocations: 12.03 MB / 311 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009736/0.02529, allocations: 4.186 MB / 315.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.02779, allocations: 99.56 kB / 315.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008192/0.03598, allocations: 3.831 MB / 319.1 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.04296, allocations: 2.255 MB / 321.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.0453, allocations: 0.7445 MB / 322.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.176/0.2214, allocations: 4.786 MB / 326.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007421/0.2288, allocations: 3.985 MB / 330.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00699/0.2358, allocations: 2.909 MB / 333.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004933/0.2407, allocations: 2.655 MB / 336.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.2421, allocations: 438.3 kB / 336.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.2452, allocations: 1.114 MB / 338 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002612/0.2478, allocations: 2.496 MB / 340.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.2503, allocations: 1.612 MB / 342.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00939/0.2597, allocations: 8.66 MB / 350.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2597, allocations: 0 / 350.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2597, allocations: 0 / 350.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003213/0.26, allocations: 0 / 350.7 MB, free: 7.242 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02247/0.2825, allocations: 6.65 MB / 357.4 MB, free: 1.855 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.2825, allocations: 11.98 kB / 357.4 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007144/0.2897, allocations: 2.079 MB / 359.5 MB, free: 15.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006428/0.2961, allocations: 2.728 MB / 362.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.2964, allocations: 301.6 kB / 362.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.2974, allocations: 414.7 kB / 362.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0279/0.3253, allocations: 12.95 MB / 375.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.3255, allocations: 47.39 kB / 375.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006856/0.3261, allocations: 194.7 kB / 376.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005212/0.3314, allocations: 2.373 MB / 378.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0282/0.3596, allocations: 11.78 MB / 390.2 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07814/0.4377, allocations: 45.53 MB / 435.8 MB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/0.4576, allocations: 5.148 MB / 440.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005296/0.4629, allocations: 3.218 MB / 444.1 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/0.4636, allocations: 139.9 kB / 444.3 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.4637, allocations: 59.06 kB / 444.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=221): time 5.751e-06/0.4637, allocations: 0 / 444.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=252): time 0.08645/0.5501, allocations: 28.9 MB / 473.2 MB, free: 13.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.5502, allocations: 154.5 kB / 473.4 MB, free: 13.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006714/0.5569, allocations: 4.263 MB / 477.6 MB, free: 9.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008569/0.5578, allocations: 69.7 kB / 477.7 MB, free: 8.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.5611, allocations: 3.722 MB / 481.4 MB, free: 5.273 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001797/0.5629, allocations: 0.9767 MB / 482.4 MB, free: 4.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002694/0.5655, allocations: 1.53 MB / 483.9 MB, free: 2.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.5657, allocations: 305.1 kB / 484.2 MB, free: 2.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1973/0.763, allocations: 3.459 MB / 487.7 MB, free: 123 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007235/0.7702, allocations: 7.526 MB / 495.2 MB, free: 117.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/0.7866, allocations: 11.84 MB / 0.4952 GB, free: 111.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002705/0.7869, allocations: 42.03 kB / 0.4952 GB, free: 111.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02088/0.8078, allocations: 11.89 MB / 0.5068 GB, free: 108.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.8079, allocations: 68.69 kB / 0.5069 GB, free: 108.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.808, allocations: 141.8 kB / 0.507 GB, free: 108.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.8106, allocations: 1.135 MB / 0.5081 GB, free: 108.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006461/0.817, allocations: 1.838 MB / 0.5099 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006832/0.8239, allocations: 6.171 MB / 0.5159 GB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/0.8302, allocations: 473.2 kB / 0.5164 GB, free: 103.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/0.8314, allocations: 484.3 kB / 0.5169 GB, free: 103.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (875): * Single equations (assignments): 871 * 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.003907/0.8353, allocations: 2.455 MB / 0.5193 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000968/0.8363, allocations: 394.6 kB / 0.5196 GB, free: 101.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009213/0.8455, allocations: 6.464 MB / 0.5259 GB, free: 95.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.8455, allocations: 24 kB / 0.526 GB, free: 95.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.8455, allocations: 8 kB / 0.526 GB, free: 95.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.8456, allocations: 15.06 kB / 0.526 GB, free: 95.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.8632, allocations: 12.07 MB / 0.5378 GB, free: 84.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.8632, allocations: 4 kB / 0.5378 GB, free: 84.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/0.8662, allocations: 0.6085 MB / 0.5384 GB, free: 83.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/0.8686, allocations: 0.9519 MB / 0.5393 GB, free: 83.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003599/0.8689, allocations: 100.5 kB / 0.5394 GB, free: 82.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006131/0.875, allocations: 5.924 MB / 0.5452 GB, free: 76.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8751, allocations: 0 / 0.5452 GB, free: 76.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.8878, allocations: 10.94 MB / 0.5559 GB, free: 66.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/0.8898, allocations: 0.8569 MB / 0.5567 GB, free: 65.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005913/0.8904, allocations: 46.73 kB / 0.5568 GB, free: 65.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/0.8927, allocations: 223.6 kB / 0.557 GB, free: 65.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005192/0.8933, allocations: 209.5 kB / 0.5572 GB, free: 64.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/0.8935, allocations: 123.9 kB / 0.5573 GB, free: 64.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002792/0.8963, allocations: 2.472 MB / 0.5597 GB, free: 62.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8963, allocations: 0 / 0.5597 GB, free: 62.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005756/0.9021, allocations: 1.331 MB / 0.561 GB, free: 61.05 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 (225): * Single equations (assignments): 221 * 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.0006595/0.9027, allocations: 218.8 kB / 0.5612 GB, free: 60.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0106/0.9133, allocations: 7.89 MB / 0.5689 GB, free: 52.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9133, allocations: 0 / 0.5689 GB, free: 52.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003715/0.917, allocations: 2.987 MB / 0.5718 GB, free: 49.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.9198, allocations: 451.6 kB / 0.5723 GB, free: 49.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.9389, allocations: 12.52 MB / 0.5845 GB, free: 36.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003561/0.9425, allocations: 3.276 MB / 0.5877 GB, free: 33.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005116/0.9476, allocations: 2.338 MB / 0.59 GB, free: 31.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.9492, allocations: 468.1 kB / 0.5904 GB, free: 30.87 MB / 430.1 MB Notification: Performance of SimCode: time 1.723e-06/0.9492, allocations: 4 kB / 0.5904 GB, free: 30.86 MB / 430.1 MB Notification: Performance of Templates: time 0.2533/1.202, allocations: 50.63 MB / 0.6399 GB, free: 158.4 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.265473913401365]