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.001866/0.001866, allocations: 103.6 kB / 21.18 MB, free: 328 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.00247/0.00247, allocations: 211.9 kB / 24.47 MB, free: 3.547 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.56/1.56, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 59.84 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.279, allocations: 49.15 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01282/0.2918, allocations: 12.01 MB / 408.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.3034, allocations: 4.188 MB / 413 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.3073, allocations: 99.94 kB / 413.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.3176, allocations: 3.641 MB / 416.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008821/0.3264, allocations: 2.181 MB / 419 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.329, allocations: 0.6912 MB / 419.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008873/0.3379, allocations: 4.412 MB / 424.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007202/0.3451, allocations: 3.713 MB / 427.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005478/0.3506, allocations: 1.943 MB / 429.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.3562, allocations: 2.604 MB / 432.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.3582, allocations: 432 kB / 432.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.3618, allocations: 1.057 MB / 433.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003717/0.3656, allocations: 2.392 MB / 436.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005295/0.3709, allocations: 2.058 MB / 438.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.3847, allocations: 8.684 MB / 446.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3847, allocations: 0 / 446.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3847, allocations: 0 / 446.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003344/0.385, allocations: 0 / 446.9 MB, free: 0.9375 MB / 350.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.02399/0.409, allocations: 6.499 MB / 453.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.4091, allocations: 15.98 kB / 453.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007999/0.4171, allocations: 2.025 MB / 455.5 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008011/0.4251, allocations: 2.764 MB / 458.2 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.4254, allocations: 307.8 kB / 458.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.4274, allocations: 407.7 kB / 458.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02906/0.4565, allocations: 12.87 MB / 471.8 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.4567, allocations: 47.58 kB / 471.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006687/0.4574, allocations: 191.8 kB / 472.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004796/0.4622, allocations: 2.378 MB / 474.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.49, allocations: 11.69 MB / 486.1 MB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07716/0.5672, allocations: 45.29 MB / 0.519 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01856/0.5858, allocations: 4.918 MB / 0.5238 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005079/0.5908, allocations: 3.22 MB / 0.5269 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.5914, allocations: 137.2 kB / 0.527 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.5915, allocations: 55.81 kB / 0.5271 GB, free: 2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 4.799e-06/0.5915, allocations: 0 / 0.5271 GB, free: 2 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08058/0.6721, allocations: 28.03 MB / 0.5545 GB, free: 5.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6722, allocations: 150.5 kB / 0.5546 GB, free: 5.738 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005745/0.6779, allocations: 4.131 MB / 0.5586 GB, free: 1.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007222/0.6787, allocations: 61.7 kB / 0.5587 GB, free: 1.555 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1993/0.878, allocations: 3.745 MB / 0.5624 GB, free: 144.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/0.8798, allocations: 0.9932 MB / 0.5633 GB, free: 144.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002914/0.8827, allocations: 1.517 MB / 0.5648 GB, free: 143.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.8828, allocations: 303.1 kB / 0.5651 GB, free: 143.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005554/0.8884, allocations: 3.455 MB / 0.5685 GB, free: 142.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/0.8984, allocations: 7.523 MB / 0.5758 GB, free: 136 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/0.9124, allocations: 11.82 MB / 0.5874 GB, free: 127.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001421/0.9125, allocations: 43.09 kB / 0.5874 GB, free: 127.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01809/0.9306, allocations: 11.85 MB / 0.599 GB, free: 122.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/0.9307, allocations: 71.19 kB / 0.599 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/0.9309, allocations: 140 kB / 0.5992 GB, free: 122.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/0.9334, allocations: 1.131 MB / 0.6003 GB, free: 121.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006334/0.9397, allocations: 1.812 MB / 0.6021 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/0.9464, allocations: 6.17 MB / 0.6081 GB, free: 114.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006797/0.9532, allocations: 421.4 kB / 0.6085 GB, free: 113.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/0.9546, allocations: 469.5 kB / 0.6089 GB, free: 113.4 MB / 478.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.004124/0.9587, allocations: 2.445 MB / 0.6113 GB, free: 111 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008842/0.9596, allocations: 385.4 kB / 0.6117 GB, free: 110.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008855/0.9684, allocations: 6.419 MB / 0.6179 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/0.9685, allocations: 31.59 kB / 0.618 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.9685, allocations: 3.172 kB / 0.618 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/0.9685, allocations: 15.95 kB / 0.618 GB, free: 104.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.9867, allocations: 11.91 MB / 0.6296 GB, free: 92.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.9867, allocations: 4.312 kB / 0.6296 GB, free: 92.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002761/0.9895, allocations: 0.5811 MB / 0.6302 GB, free: 91.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.9918, allocations: 0.9488 MB / 0.6311 GB, free: 90.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003414/0.9921, allocations: 91.89 kB / 0.6312 GB, free: 90.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00608/0.9982, allocations: 5.903 MB / 0.637 GB, free: 84.64 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9982, allocations: 7.938 kB / 0.637 GB, free: 84.64 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.011, allocations: 10.88 MB / 0.6476 GB, free: 73.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/1.014, allocations: 0.8178 MB / 0.6484 GB, free: 72.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007533/1.015, allocations: 43.94 kB / 0.6485 GB, free: 72.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/1.017, allocations: 171.8 kB / 0.6486 GB, free: 72.63 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.017, allocations: 201.5 kB / 0.6488 GB, free: 72.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.017, allocations: 107.9 kB / 0.6489 GB, free: 72.33 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002885/1.02, allocations: 2.382 MB / 0.6512 GB, free: 69.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.02, allocations: 0 / 0.6512 GB, free: 69.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006508/1.027, allocations: 1.271 MB / 0.6525 GB, free: 68.7 MB / 478.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.0005328/1.027, allocations: 181.5 kB / 0.6527 GB, free: 68.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/1.038, allocations: 7.876 MB / 0.6603 GB, free: 60.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.038, allocations: 8 kB / 0.6604 GB, free: 60.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004046/1.042, allocations: 2.96 MB / 0.6632 GB, free: 57.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.045, allocations: 434 kB / 0.6637 GB, free: 57.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.066, allocations: 12.65 MB / 0.676 GB, free: 44.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003182/1.069, allocations: 3.276 MB / 0.6792 GB, free: 41.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00488/1.074, allocations: 2.334 MB / 0.6815 GB, free: 38.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/1.075, allocations: 411.1 kB / 0.6819 GB, free: 38.51 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/1.075, allocations: 0 / 0.6819 GB, free: 38.51 MB / 478.1 MB Notification: Performance of Templates: time 0.0956/1.171, allocations: 55.28 MB / 0.7359 GB, free: 15.1 MB / 0.4981 GB " [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.7525842897593975]