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.00137/0.00137, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001809/0.001809, allocations: 211.9 kB / 23.73 MB, free: 4.391 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001827/0.001827, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2721, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0152/0.2873, allocations: 11.34 MB / 442.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.2982, allocations: 4.12 MB / 447 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.3014, allocations: 91.56 kB / 447.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008402/0.3098, allocations: 3.613 MB / 450.7 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007371/0.3172, allocations: 2.031 MB / 452.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002421/0.3196, allocations: 0.6981 MB / 453.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007352/0.3269, allocations: 4.217 MB / 457.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006436/0.3334, allocations: 3.607 MB / 461.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004171/0.3375, allocations: 1.861 MB / 463.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005104/0.3426, allocations: 2.449 MB / 465.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001945/0.3446, allocations: 408 kB / 466 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.3484, allocations: 1.03 MB / 467 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003586/0.352, allocations: 2.248 MB / 469.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004907/0.3569, allocations: 1.926 MB / 471.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.3703, allocations: 8.144 MB / 479.4 MB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3703, allocations: 0 / 479.4 MB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3703, allocations: 4 kB / 479.4 MB, free: 6.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003757/0.3706, allocations: 0 / 479.4 MB, free: 6.719 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.02699/0.3976, allocations: 6.243 MB / 485.6 MB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.3977, allocations: 12.03 kB / 485.6 MB, free: 416 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.4061, allocations: 1.99 MB / 487.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/0.4134, allocations: 2.635 MB / 490.2 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/0.4138, allocations: 283.5 kB / 490.5 MB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.4156, allocations: 391.8 kB / 490.9 MB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/0.4443, allocations: 12.17 MB / 0.4913 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.4444, allocations: 51.58 kB / 0.4913 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/0.445, allocations: 179.8 kB / 0.4915 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004308/0.4493, allocations: 2.194 MB / 0.4936 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02528/0.4746, allocations: 11.11 MB / 0.5045 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2835/0.758, allocations: 43.46 MB / 0.5469 GB, free: 72.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/0.7771, allocations: 4.704 MB / 0.5515 GB, free: 72.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003896/0.781, allocations: 3.068 MB / 0.5545 GB, free: 70.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007471/0.7817, allocations: 144 kB / 0.5547 GB, free: 70.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-05/0.7818, allocations: 51.38 kB / 0.5547 GB, free: 70.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 9.778e-06/0.7818, allocations: 0 / 0.5547 GB, free: 70.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06522/0.847, allocations: 26.83 MB / 0.5809 GB, free: 51.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.8471, allocations: 153.5 kB / 0.5811 GB, free: 51.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/0.8513, allocations: 4.025 MB / 0.585 GB, free: 47.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004523/0.8518, allocations: 57.7 kB / 0.585 GB, free: 47.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.8531, allocations: 3.594 MB / 0.5885 GB, free: 43.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008324/0.854, allocations: 0.9169 MB / 0.5894 GB, free: 42.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/0.8556, allocations: 1.451 MB / 0.5909 GB, free: 41.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.8556, allocations: 309.1 kB / 0.5912 GB, free: 41.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003471/0.8591, allocations: 3.281 MB / 0.5944 GB, free: 37.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004999/0.8641, allocations: 7.219 MB / 0.6014 GB, free: 28.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.8743, allocations: 11.32 MB / 0.6125 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/0.8744, allocations: 40 kB / 0.6125 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01652/0.8909, allocations: 11.35 MB / 0.6236 GB, free: 4.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-05/0.891, allocations: 64 kB / 0.6236 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.8911, allocations: 140 kB / 0.6238 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.8936, allocations: 1.123 MB / 0.6249 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005643/0.8992, allocations: 1.727 MB / 0.6266 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/0.9081, allocations: 6.161 MB / 0.6326 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005569/0.9137, allocations: 411.5 kB / 0.633 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/0.915, allocations: 458.3 kB / 0.6334 GB, free: 10.11 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.004564/0.9195, allocations: 2.324 MB / 0.6357 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009457/0.9205, allocations: 365.6 kB / 0.636 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.9319, allocations: 6.053 MB / 0.6419 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.932, allocations: 31.94 kB / 0.642 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.932, allocations: 4 kB / 0.642 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/0.932, allocations: 7.969 kB / 0.642 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/0.9564, allocations: 11.27 MB / 0.653 GB, free: 6.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.9564, allocations: 4 kB / 0.653 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/0.9594, allocations: 0.5304 MB / 0.6535 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002814/0.9622, allocations: 0.9567 MB / 0.6544 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003882/0.9626, allocations: 87.89 kB / 0.6545 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008667/0.9713, allocations: 5.903 MB / 0.6603 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9713, allocations: 3.938 kB / 0.6603 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01701/0.9883, allocations: 10.3 MB / 0.6703 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/0.991, allocations: 0.7706 MB / 0.6711 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007067/0.9917, allocations: 40 kB / 0.6711 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/0.9938, allocations: 155.8 kB / 0.6713 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005092/0.9943, allocations: 193.1 kB / 0.6715 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/0.9946, allocations: 107.9 kB / 0.6716 GB, free: 2.824 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00379/0.9983, allocations: 2.321 MB / 0.6738 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.9983, allocations: 0 / 0.6738 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005857/1.004, allocations: 1.18 MB / 0.675 GB, free: 15.34 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.0005031/1.005, allocations: 182.3 kB / 0.6752 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01205/1.017, allocations: 7.484 MB / 0.6825 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.017, allocations: 0 / 0.6825 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004393/1.021, allocations: 2.793 MB / 0.6852 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.024, allocations: 430.4 kB / 0.6856 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.043, allocations: 11.96 MB / 0.6973 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00425/1.048, allocations: 3.096 MB / 0.7003 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005679/1.053, allocations: 2.231 MB / 0.7025 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.055, allocations: 395.1 kB / 0.7029 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/1.055, allocations: 0 / 0.7029 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of Templates: time 0.313/1.368, allocations: 53.41 MB / 0.755 GB, free: 209 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/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_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: 7.642977675423026]