Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002643/0.002643, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003113/0.003113, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.645/1.645, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.225e-05, allocations: 6.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0174/0.01743, allocations: 12.59 MB / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.02769, allocations: 4.201 MB / 289 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.02994, allocations: 91.56 kB / 289.1 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1473/0.1773, allocations: 3.975 MB / 293.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.1834, allocations: 2.108 MB / 295.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.1854, allocations: 0.7598 MB / 295.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.1922, allocations: 4.638 MB / 300.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005313/0.1975, allocations: 3.989 MB / 304.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/0.203, allocations: 2.77 MB / 307.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.2071, allocations: 2.609 MB / 309.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.2083, allocations: 414.3 kB / 310.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.2108, allocations: 1.088 MB / 311.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001828/0.2126, allocations: 2.362 MB / 313.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.2147, allocations: 1.519 MB / 315.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009371/0.2241, allocations: 8.138 MB / 323.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2241, allocations: 4 kB / 323.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2241, allocations: 0 / 323.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000304/0.2244, allocations: 3.938 kB / 323.4 MB, free: 12.65 MB / 282.7 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.02648/0.2509, allocations: 7.284 MB / 330.7 MB, free: 5.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.2509, allocations: 15.98 kB / 330.7 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009678/0.2606, allocations: 2.506 MB / 333.2 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007574/0.2682, allocations: 2.44 MB / 335.7 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/0.2685, allocations: 292.7 kB / 336 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.2701, allocations: 386.4 kB / 336.4 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.2924, allocations: 7.855 MB / 344.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.2926, allocations: 49.27 kB / 344.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006938/0.2933, allocations: 185.7 kB / 344.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004972/0.2982, allocations: 2.189 MB / 346.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.3165, allocations: 4.718 MB / 351.3 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07694/0.3935, allocations: 52.34 MB / 403.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/0.4103, allocations: 2.85 MB / 406.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0025/0.4128, allocations: 0.9954 MB / 407.5 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005927/0.4134, allocations: 137.1 kB / 407.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.766e-05/0.4135, allocations: 58.64 kB / 407.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 4.639e-06/0.4135, allocations: 8 kB / 407.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.07027/0.4838, allocations: 17.52 MB / 425.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4839, allocations: 158.5 kB / 425.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007627/0.4915, allocations: 4.729 MB / 430.1 MB, free: 392 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006576/0.4922, allocations: 61.7 kB / 430.2 MB, free: 324 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1377/0.6299, allocations: 3.944 MB / 434.1 MB, free: 114.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001422/0.6313, allocations: 1.007 MB / 435.1 MB, free: 113.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/0.6341, allocations: 1.815 MB / 437 MB, free: 113.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.424e-05/0.6341, allocations: 478.4 kB / 437.4 MB, free: 113.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.6369, allocations: 1.046 MB / 438.5 MB, free: 113.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/0.6418, allocations: 7.09 MB / 445.6 MB, free: 105.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008611/0.6504, allocations: 8.993 MB / 454.5 MB, free: 97.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/0.6506, allocations: 42.97 kB / 454.6 MB, free: 97.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01388/0.6645, allocations: 6.994 MB / 461.6 MB, free: 95.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.6646, allocations: 66.38 kB / 461.6 MB, free: 95.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001672/0.6648, allocations: 140.4 kB / 461.8 MB, free: 95.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.6674, allocations: 0.6951 MB / 462.5 MB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006667/0.6741, allocations: 1.751 MB / 464.2 MB, free: 94.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/0.679, allocations: 3.473 MB / 467.7 MB, free: 92.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006267/0.6852, allocations: 435.8 kB / 468.1 MB, free: 92.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/0.6866, allocations: 470.1 kB / 468.6 MB, free: 92.25 MB / 378.7 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.002772/0.6894, allocations: 0.8159 MB / 469.4 MB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009975/0.6904, allocations: 448.8 kB / 469.8 MB, free: 91.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006699/0.6971, allocations: 2.933 MB / 472.8 MB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.6971, allocations: 32.2 kB / 472.8 MB, free: 89.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6971, allocations: 0 / 472.8 MB, free: 89.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/0.6971, allocations: 13.94 kB / 472.8 MB, free: 89.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.7138, allocations: 8.578 MB / 481.4 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.7138, allocations: 4 kB / 481.4 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002666/0.7165, allocations: 0.5616 MB / 482 MB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.7186, allocations: 0.5135 MB / 482.5 MB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002775/0.7189, allocations: 99.89 kB / 482.6 MB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/0.7231, allocations: 3.193 MB / 485.8 MB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7231, allocations: 4 kB / 485.8 MB, free: 76.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008151/0.7312, allocations: 4.381 MB / 490.2 MB, free: 72.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/0.7335, allocations: 0.7511 MB / 490.9 MB, free: 71.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/0.734, allocations: 51.89 kB / 491 MB, free: 71.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/0.7363, allocations: 192.6 kB / 491.1 MB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/0.7367, allocations: 205.5 kB / 491.3 MB, free: 71.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/0.737, allocations: 119.9 kB / 491.5 MB, free: 71.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00244/0.7394, allocations: 1.9 MB / 493.4 MB, free: 69.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7394, allocations: 0 / 493.4 MB, free: 69.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005278/0.7447, allocations: 1.242 MB / 494.6 MB, free: 68.04 MB / 378.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.0005282/0.7452, allocations: 207.3 kB / 494.8 MB, free: 67.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007833/0.753, allocations: 4.343 MB / 499.2 MB, free: 63.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.753, allocations: 0 / 499.2 MB, free: 63.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.7555, allocations: 1.438 MB / 0.4889 GB, free: 62.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.7584, allocations: 0.5142 MB / 0.4894 GB, free: 61.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.7732, allocations: 9.347 MB / 0.4985 GB, free: 52.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002934/0.7762, allocations: 2.819 MB / 0.5012 GB, free: 49.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004288/0.7805, allocations: 1.868 MB / 0.5031 GB, free: 47.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/0.7818, allocations: 464 kB / 0.5035 GB, free: 46.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7818, allocations: 0 / 0.5035 GB, free: 46.92 MB / 378.7 MB Notification: Performance of Templates: time 0.07662/0.8585, allocations: 49.05 MB / 0.5514 GB, free: 14.37 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.263358106021769]