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.001699/0.001699, allocations: 114.6 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002012/0.002012, allocations: 198.6 kB / 21.45 MB, free: 1.613 MB / 14.72 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.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 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 0.001902/0.001902, allocations: 63.89 kB / 373.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1109, allocations: 53.32 MB / 427.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01629/0.1272, allocations: 13.04 MB / 440.2 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009945/0.1371, allocations: 4.306 MB / 444.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.1395, allocations: 83.75 kB / 444.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2206/0.3602, allocations: 3.738 MB / 448.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004566/0.3647, allocations: 2.025 MB / 450.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3662, allocations: 0.6997 MB / 451 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005724/0.372, allocations: 4.212 MB / 455.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005013/0.377, allocations: 3.954 MB / 459.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.3801, allocations: 1.835 MB / 461 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/0.3837, allocations: 2.624 MB / 463.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008303/0.3845, allocations: 412.6 kB / 464.1 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.3866, allocations: 1.166 MB / 465.2 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.3883, allocations: 2.238 MB / 467.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.3904, allocations: 2.59 MB / 470.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00805/0.3985, allocations: 8.098 MB / 478.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3985, allocations: 1.438 kB / 478.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3985, allocations: 0 / 478.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002331/0.3987, allocations: 1.781 kB / 478.2 MB, free: 15.34 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.02313/0.4219, allocations: 6.325 MB / 484.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4219, allocations: 9.625 kB / 484.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007233/0.4291, allocations: 2.001 MB / 486.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005303/0.4344, allocations: 2.681 MB / 489.2 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.4346, allocations: 294.1 kB / 489.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007902/0.4354, allocations: 383.8 kB / 489.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03324/0.4687, allocations: 12.18 MB / 0.4903 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/0.4689, allocations: 47.62 kB / 0.4903 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006153/0.4695, allocations: 182.8 kB / 0.4905 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004644/0.4741, allocations: 2.189 MB / 0.4926 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/0.5012, allocations: 11.15 MB / 0.5035 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06702/0.5682, allocations: 46.48 MB / 0.5489 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/0.5866, allocations: 5.175 MB / 0.5539 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004688/0.5913, allocations: 3.055 MB / 0.5569 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000684/0.592, allocations: 373.6 kB / 0.5573 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.592, allocations: 59.81 kB / 0.5573 GB, free: 6.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 4.078e-06/0.592, allocations: 0 / 0.5573 GB, free: 6.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.07965/0.6717, allocations: 27.01 MB / 0.5837 GB, free: 11.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.6718, allocations: 150.5 kB / 0.5839 GB, free: 11.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007203/0.679, allocations: 4.493 MB / 0.5882 GB, free: 6.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006092/0.6797, allocations: 61.7 kB / 0.5883 GB, free: 6.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002992/0.6826, allocations: 3.561 MB / 0.5918 GB, free: 2.906 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.684, allocations: 0.9179 MB / 0.5927 GB, free: 2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/0.6863, allocations: 1.455 MB / 0.5941 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6864, allocations: 305.1 kB / 0.5944 GB, free: 240 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005085/0.6915, allocations: 3.286 MB / 0.5976 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008565/0.7001, allocations: 7.213 MB / 0.6046 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/0.7159, allocations: 11.31 MB / 0.6157 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.716, allocations: 40 kB / 0.6157 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02171/0.7378, allocations: 11.41 MB / 0.6269 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.7379, allocations: 68.03 kB / 0.6269 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/0.738, allocations: 143.8 kB / 0.6271 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.7411, allocations: 1.129 MB / 0.6282 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006828/0.7479, allocations: 1.715 MB / 0.6299 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008983/0.7569, allocations: 6.343 MB / 0.636 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00603/0.7629, allocations: 407.5 kB / 0.6364 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001345/0.7643, allocations: 451.8 kB / 0.6369 GB, free: 0.7305 MB / 0.5294 GB 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.1974/0.9617, allocations: 2.319 MB / 0.6391 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008945/0.9626, allocations: 418.2 kB / 0.6395 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/0.9735, allocations: 6.107 MB / 0.6455 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/0.9736, allocations: 27.84 kB / 0.6455 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.9736, allocations: 3.75 kB / 0.6455 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/0.9736, allocations: 11.67 kB / 0.6455 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/0.9953, allocations: 12.74 MB / 0.658 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/0.9953, allocations: 3.469 kB / 0.658 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/0.998, allocations: 0.5326 MB / 0.6585 GB, free: 168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1, allocations: 0.9492 MB / 0.6594 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/1.001, allocations: 83.09 kB / 0.6595 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006321/1.007, allocations: 6.087 MB / 0.6655 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.007, allocations: 3.906 kB / 0.6655 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/1.019, allocations: 10.36 MB / 0.6756 GB, free: 161 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.021, allocations: 0.9078 MB / 0.6765 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/1.021, allocations: 38.72 kB / 0.6765 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.023, allocations: 158.7 kB / 0.6766 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004946/1.024, allocations: 188.7 kB / 0.6768 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/1.024, allocations: 101.5 kB / 0.6769 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004249/1.028, allocations: 2.817 MB / 0.6797 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0 / 0.6797 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006219/1.034, allocations: 1.191 MB / 0.6808 GB, free: 159.2 MB / 0.5294 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.0005086/1.035, allocations: 190.5 kB / 0.681 GB, free: 159 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009219/1.044, allocations: 7.482 MB / 0.6883 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.044, allocations: 8.531 kB / 0.6883 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003238/1.047, allocations: 2.787 MB / 0.6911 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.05, allocations: 0.5025 MB / 0.6915 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/1.069, allocations: 11.95 MB / 0.7032 GB, free: 137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/1.072, allocations: 3.615 MB / 0.7067 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00462/1.077, allocations: 2.293 MB / 0.709 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.078, allocations: 415.1 kB / 0.7094 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/1.078, allocations: 7.5 kB / 0.7094 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.08293/1.161, allocations: 53.16 MB / 0.7613 GB, free: 77.72 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] 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.146936176344752]