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.00198/0.00198, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002569/0.002569, allocations: 166 kB / 25.02 MB, free: 8.43 MB / 18.57 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.522/1.522, allocations: 158.6 MB / 186.8 MB, free: 2.855 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.382e-05, allocations: 2.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01744/0.01747, allocations: 12.03 MB / 262.4 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.03051, allocations: 4.19 MB / 266.6 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.03382, allocations: 95.56 kB / 266.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009411/0.04323, allocations: 3.897 MB / 270.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009642/0.05287, allocations: 2.258 MB / 272.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.05568, allocations: 0.7407 MB / 273.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009305/0.06498, allocations: 4.8 MB / 278.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008677/0.07366, allocations: 4.093 MB / 282.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007179/0.08084, allocations: 2.896 MB / 285.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.0864, allocations: 2.646 MB / 288 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001652/0.08805, allocations: 440 kB / 288.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003464/0.09152, allocations: 1.127 MB / 289.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004396/0.09591, allocations: 2.493 MB / 292.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005359/0.1013, allocations: 1.612 MB / 293.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1948/0.2961, allocations: 8.667 MB / 302.3 MB, free: 29.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.2961, allocations: 1.5 kB / 302.3 MB, free: 29.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2961, allocations: 0 / 302.3 MB, free: 29.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004141/0.2965, allocations: 0.5938 kB / 302.3 MB, free: 29.22 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02905/0.3256, allocations: 6.646 MB / 309 MB, free: 27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3257, allocations: 13.77 kB / 309 MB, free: 27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.3375, allocations: 2.64 MB / 311.6 MB, free: 26.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009336/0.3468, allocations: 2.763 MB / 314.4 MB, free: 26.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/0.3474, allocations: 308.9 kB / 314.7 MB, free: 26.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002671/0.35, allocations: 413.5 kB / 315.1 MB, free: 26.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02904/0.3791, allocations: 12.94 MB / 328 MB, free: 22.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003588/0.3794, allocations: 54.98 kB / 328.1 MB, free: 22.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/0.3814, allocations: 191.2 kB / 328.3 MB, free: 21.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/0.3853, allocations: 2.378 MB / 330.7 MB, free: 20.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.407, allocations: 11.78 MB / 342.4 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07611/0.4831, allocations: 45.07 MB / 387.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/0.5028, allocations: 5.139 MB / 392.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005786/0.5086, allocations: 3.225 MB / 395.9 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/0.5092, allocations: 155.7 kB / 396 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.5093, allocations: 59.16 kB / 396.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of pre-optimization done (n=221): time 5.881e-06/0.5093, allocations: 0 / 396.1 MB, free: 2.922 MB / 330.7 MB Notification: Performance of matching and sorting (n=252): time 0.08819/0.5975, allocations: 29.15 MB / 425.2 MB, free: 5.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.5976, allocations: 150.5 kB / 425.4 MB, free: 5.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/0.6043, allocations: 4.244 MB / 429.6 MB, free: 1.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006282/0.605, allocations: 73.69 kB / 429.7 MB, free: 1.309 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003674/0.6086, allocations: 3.707 MB / 433.4 MB, free: 13.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001485/0.6101, allocations: 0.9811 MB / 434.4 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/0.6126, allocations: 1.53 MB / 435.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6127, allocations: 301.1 kB / 436.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006098/0.6188, allocations: 3.473 MB / 439.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1354/0.7542, allocations: 7.515 MB / 447.2 MB, free: 131.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/0.7669, allocations: 11.82 MB / 459 MB, free: 124.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/0.7671, allocations: 41.88 kB / 459.1 MB, free: 124.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01925/0.7863, allocations: 12.28 MB / 471.3 MB, free: 120.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.7865, allocations: 66.88 kB / 471.4 MB, free: 120.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.7867, allocations: 142.1 kB / 471.6 MB, free: 120.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/0.7893, allocations: 1.142 MB / 472.7 MB, free: 119.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006323/0.7957, allocations: 1.841 MB / 474.5 MB, free: 118.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006667/0.8023, allocations: 6.185 MB / 480.7 MB, free: 112.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006271/0.8086, allocations: 468.9 kB / 481.2 MB, free: 112.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/0.8099, allocations: 482.2 kB / 481.7 MB, free: 112.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 648 * 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.003731/0.8136, allocations: 2.453 MB / 484.1 MB, free: 109.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/0.8147, allocations: 460.6 kB / 484.6 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008901/0.8236, allocations: 6.473 MB / 491 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/0.8236, allocations: 28 kB / 491.1 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.8236, allocations: 4 kB / 491.1 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.8237, allocations: 11.95 kB / 491.1 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.8402, allocations: 11.81 MB / 0.4911 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.8402, allocations: 4 kB / 0.4911 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002841/0.8431, allocations: 0.6123 MB / 0.4917 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/0.8454, allocations: 0.9665 MB / 0.4926 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/0.8457, allocations: 103.9 kB / 0.4927 GB, free: 89.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006075/0.8518, allocations: 5.927 MB / 0.4985 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8518, allocations: 4 kB / 0.4985 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.8645, allocations: 11.01 MB / 0.5093 GB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/0.8666, allocations: 0.8498 MB / 0.5101 GB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005452/0.8671, allocations: 52 kB / 0.5102 GB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/0.8693, allocations: 215.7 kB / 0.5104 GB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005345/0.8699, allocations: 213.5 kB / 0.5106 GB, free: 71.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/0.8701, allocations: 129.5 kB / 0.5107 GB, free: 71.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002805/0.8729, allocations: 2.472 MB / 0.5131 GB, free: 68.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.8729, allocations: 4 kB / 0.5131 GB, free: 68.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005323/0.8783, allocations: 1.336 MB / 0.5144 GB, free: 67.57 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 (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.0005342/0.8788, allocations: 210.7 kB / 0.5146 GB, free: 67.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009626/0.8884, allocations: 7.9 MB / 0.5223 GB, free: 59.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8884, allocations: 4 kB / 0.5223 GB, free: 59.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003938/0.8924, allocations: 2.981 MB / 0.5252 GB, free: 56.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/0.8964, allocations: 0.5033 MB / 0.5257 GB, free: 56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.9142, allocations: 12.93 MB / 0.5384 GB, free: 42.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/0.9173, allocations: 3.283 MB / 0.5416 GB, free: 39.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004616/0.9219, allocations: 2.317 MB / 0.5438 GB, free: 37.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/0.9234, allocations: 468.1 kB / 0.5443 GB, free: 36.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.9234, allocations: 0 / 0.5443 GB, free: 36.88 MB / 378.7 MB Notification: Performance of Templates: time 0.2104/1.134, allocations: 50.94 MB / 0.594 GB, free: 114.4 MB / 378.7 MB " [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.421237452072091]