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.001143/0.001143, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001242/0.001242, allocations: 163.2 kB / 25.61 MB, free: 8.871 MB / 18.57 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 0.9208/0.9208, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.423e-06/1.423e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.047e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009729/0.00975, allocations: 12.28 MB / 286.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006703/0.01645, allocations: 4.187 MB / 290.6 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.01786, allocations: 99.56 kB / 290.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.02158, allocations: 3.925 MB / 294.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.02527, allocations: 2.107 MB / 296.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.02641, allocations: 0.7602 MB / 297.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004616/0.03102, allocations: 4.637 MB / 302.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.03443, allocations: 3.999 MB / 306.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.03761, allocations: 2.912 MB / 309 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.04025, allocations: 2.475 MB / 311.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006966/0.04095, allocations: 403.8 kB / 311.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.04248, allocations: 1.073 MB / 313 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.04403, allocations: 2.341 MB / 315.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.04563, allocations: 1.511 MB / 316.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.05021, allocations: 5.056 MB / 321.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.05021, allocations: 0 / 321.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.05021, allocations: 4 kB / 321.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.05034, allocations: 0 / 321.9 MB, free: 4.305 MB / 298.7 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.008157/0.0585, allocations: 6.38 MB / 328.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.05853, allocations: 8.031 kB / 328.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.06191, allocations: 1.593 MB / 329.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.06458, allocations: 2.181 MB / 332 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.06472, allocations: 295.6 kB / 332.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004373/0.06516, allocations: 391.8 kB / 332.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007667/0.07283, allocations: 6.158 MB / 338.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.07294, allocations: 55.52 kB / 338.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/0.07329, allocations: 183.8 kB / 339.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/0.07479, allocations: 1.777 MB / 340.9 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005005/0.07979, allocations: 2.692 MB / 343.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/0.2364, allocations: 47.26 MB / 390.8 MB, free: 39.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003899/0.2403, allocations: 1.558 MB / 392.4 MB, free: 39.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.241, allocations: 486 kB / 392.9 MB, free: 39.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005477/0.2465, allocations: 4.31 MB / 397.2 MB, free: 38.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2465, allocations: 55.8 kB / 397.2 MB, free: 38.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 4.769e-06/0.2465, allocations: 0 / 397.2 MB, free: 38.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01516/0.2617, allocations: 6.06 MB / 403.3 MB, free: 36.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2617, allocations: 147.2 kB / 403.4 MB, free: 36.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.2647, allocations: 3.874 MB / 407.3 MB, free: 34.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.2648, allocations: 47.86 kB / 407.4 MB, free: 34.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.266, allocations: 3.941 MB / 411.3 MB, free: 30.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.2664, allocations: 0.6903 MB / 412 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009065/0.2673, allocations: 1.435 MB / 413.4 MB, free: 28.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.2674, allocations: 476.8 kB / 413.9 MB, free: 27.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008453/0.2682, allocations: 0.5826 MB / 414.5 MB, free: 27.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002173/0.2704, allocations: 6.841 MB / 421.3 MB, free: 17.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004164/0.2746, allocations: 8.165 MB / 429.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.262e-05/0.2746, allocations: 44 kB / 429.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.005767/0.2804, allocations: 5.245 MB / 434.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.2805, allocations: 72.06 kB / 434.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.2806, allocations: 152 kB / 435 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.281, allocations: 255.6 kB / 435.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/0.2833, allocations: 1.489 MB / 436.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.2848, allocations: 2.146 MB / 438.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.2878, allocations: 299.7 kB / 439.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005227/0.2883, allocations: 356.9 kB / 439.5 MB, free: 12.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * 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 (821): * Single equations (assignments): 817 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001445/0.2898, allocations: 0.7077 MB / 440.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006336/0.2904, allocations: 397.6 kB / 440.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.2919, allocations: 1.003 MB / 441.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.2919, allocations: 19.83 kB / 441.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.2919, allocations: 2.875 kB / 441.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.2919, allocations: 11.97 kB / 441.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007462/0.2994, allocations: 5.002 MB / 446.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.2994, allocations: 12.03 kB / 446.7 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.3001, allocations: 255.6 kB / 446.9 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.3004, allocations: 67.59 kB / 447 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.3005, allocations: 35.48 kB / 447 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.3018, allocations: 1.874 MB / 448.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3018, allocations: 8 kB / 448.9 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.3046, allocations: 2.188 MB / 451.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/0.3055, allocations: 455.2 kB / 451.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.3057, allocations: 32 kB / 451.5 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.3063, allocations: 43.91 kB / 451.6 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.3065, allocations: 108.7 kB / 451.7 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.581e-05/0.3066, allocations: 42.92 kB / 451.7 MB, free: 296 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001654/0.3082, allocations: 1.533 MB / 453.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3082, allocations: 0 / 453.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003816/0.312, allocations: 1.035 MB / 454.3 MB, free: 13.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (141): * Single equations (assignments): 137 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/0.3124, allocations: 188.3 kB / 454.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.3161, allocations: 2.889 MB / 457.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.3161, allocations: 4 kB / 457.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.3168, allocations: 0.6431 MB / 458 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.3185, allocations: 427 kB / 458.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.3291, allocations: 8.357 MB / 466.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.3303, allocations: 1.363 MB / 468.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001452/0.3318, allocations: 0.5194 MB / 468.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/0.3326, allocations: 0.6075 MB / 469.3 MB, free: 14.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.3326, allocations: 0 / 469.3 MB, free: 14.56 MB / 378.7 MB Notification: Performance of Templates: time 0.04738/0.38, allocations: 30.93 MB / 0.4885 GB, free: 116 kB / 394.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.008506761863828]