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.001327/0.001327, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001429/0.001429, allocations: 209.7 kB / 24.49 MB, free: 3.965 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.00159/0.00159, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2097, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0146/0.2243, allocations: 11.35 MB / 443.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007993/0.2323, allocations: 4.108 MB / 447.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000849/0.2331, allocations: 95.56 kB / 447.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006762/0.2399, allocations: 3.602 MB / 451.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004366/0.2443, allocations: 2.045 MB / 453.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.2457, allocations: 0.7019 MB / 454.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005021/0.2507, allocations: 4.213 MB / 458.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/0.2549, allocations: 3.631 MB / 462.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.2573, allocations: 1.857 MB / 463.9 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.2606, allocations: 2.636 MB / 466.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007309/0.2613, allocations: 408 kB / 467 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.2633, allocations: 1.03 MB / 468 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.2654, allocations: 2.248 MB / 470.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.2675, allocations: 1.938 MB / 472.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00868/0.2762, allocations: 8.136 MB / 480.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2762, allocations: 0 / 480.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.2762, allocations: 7.938 kB / 480.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001775/0.2764, allocations: 0 / 480.3 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.02021/0.2966, allocations: 6.241 MB / 486.6 MB, free: 212 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2966, allocations: 8.031 kB / 486.6 MB, free: 204 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007101/0.3037, allocations: 1.996 MB / 488.6 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/0.3095, allocations: 2.618 MB / 491.2 MB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.3098, allocations: 291.4 kB / 491.5 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007891/0.3106, allocations: 391.8 kB / 491.9 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02246/0.333, allocations: 12.18 MB / 0.4922 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.3331, allocations: 43.64 kB / 0.4923 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005329/0.3337, allocations: 183.8 kB / 0.4924 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004266/0.3379, allocations: 2.198 MB / 0.4946 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/0.3601, allocations: 11.1 MB / 0.5054 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2379/0.598, allocations: 43.46 MB / 0.5479 GB, free: 72.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/0.6148, allocations: 4.711 MB / 0.5525 GB, free: 72.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.6176, allocations: 3.061 MB / 0.5555 GB, free: 70.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.618, allocations: 140.4 kB / 0.5556 GB, free: 70.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.6181, allocations: 61.77 kB / 0.5557 GB, free: 70.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.949e-06/0.6181, allocations: 0 / 0.5557 GB, free: 70.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06476/0.6828, allocations: 26.82 MB / 0.5819 GB, free: 51.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.6829, allocations: 154.1 kB / 0.582 GB, free: 51.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.6865, allocations: 4.023 MB / 0.5859 GB, free: 47.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/0.6868, allocations: 61.7 kB / 0.586 GB, free: 47.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.6879, allocations: 3.587 MB / 0.5895 GB, free: 43.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.6885, allocations: 0.9174 MB / 0.5904 GB, free: 42.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/0.6901, allocations: 1.459 MB / 0.5918 GB, free: 41.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.148e-05/0.6901, allocations: 305.1 kB / 0.5921 GB, free: 41.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/0.6936, allocations: 3.281 MB / 0.5953 GB, free: 37.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/0.6982, allocations: 7.215 MB / 0.6024 GB, free: 28.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008938/0.7072, allocations: 11.33 MB / 0.6134 GB, free: 15.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.442e-05/0.7072, allocations: 40 kB / 0.6135 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01426/0.7215, allocations: 11.34 MB / 0.6245 GB, free: 4.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.7216, allocations: 71.98 kB / 0.6246 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.685e-05/0.7217, allocations: 136 kB / 0.6247 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/0.7241, allocations: 1.134 MB / 0.6258 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005289/0.7294, allocations: 1.715 MB / 0.6275 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008371/0.7378, allocations: 6.171 MB / 0.6335 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/0.743, allocations: 407.4 kB / 0.6339 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009774/0.744, allocations: 458 kB / 0.6344 GB, free: 10.07 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.004124/0.7481, allocations: 2.314 MB / 0.6366 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008994/0.749, allocations: 369.5 kB / 0.637 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.7601, allocations: 6.055 MB / 0.6429 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/0.7601, allocations: 15.89 kB / 0.6429 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7601, allocations: 4 kB / 0.6429 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/0.7624, allocations: 0.7702 MB / 0.6437 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.763, allocations: 36 kB / 0.6437 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.7651, allocations: 155.8 kB / 0.6438 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/0.7656, allocations: 193.5 kB / 0.644 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01248/0.7781, allocations: 6.547 MB / 0.6504 GB, free: 9.633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01301/0.7911, allocations: 9.341 MB / 0.6595 GB, free: 272 kB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003403/0.7945, allocations: 2.353 MB / 0.6618 GB, free: 13.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003603/0.7981, allocations: 2.325 MB / 0.6641 GB, free: 11.61 MB / 494.1 MB Notification: Performance of Backend: time 3.5e-07/0.7981, allocations: 0 / 0.6641 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01095/0.809, allocations: 5.382 MB / 0.6694 GB, free: 6.25 MB / 494.1 MB Notification: Performance of SimCode: time 0.01807/0.8271, allocations: 10.56 MB / 0.6797 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.1223/0.9494, allocations: 70.47 MB / 0.7485 GB, free: 5.699 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/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: 9.44073853000009]