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.0007429/0.0007429, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001801, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007022/0.0007022, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002092, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9173/0.9173, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08417/1.002, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.443e-06/1.443e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.74e-05, allocations: 5.406 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01426/0.01429, allocations: 12.42 MB / 257.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.02495, allocations: 4.406 MB / 262 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.02716, allocations: 99.5 kB / 262.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007884/0.03504, allocations: 3.769 MB / 265.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006499/0.04154, allocations: 2.072 MB / 268 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.04364, allocations: 0.7133 MB / 268.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007002/0.05065, allocations: 4.537 MB / 273.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1321/0.1827, allocations: 3.78 MB / 277 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.1882, allocations: 3.015 MB / 280 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004146/0.1923, allocations: 2.365 MB / 282.4 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.1937, allocations: 403 kB / 282.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.196, allocations: 1.092 MB / 283.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.1979, allocations: 2.087 MB / 285.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.1997, allocations: 1.229 MB / 287.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004866/0.2046, allocations: 4.725 MB / 291.9 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.2046, allocations: 0 / 291.9 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2046, allocations: 0.7188 kB / 291.9 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002234/0.2048, allocations: 0 / 291.9 MB, free: 0.8516 MB / 266.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.007534/0.2123, allocations: 6.57 MB / 298.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.2124, allocations: 7.812 kB / 298.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.215, allocations: 1.178 MB / 299.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.2174, allocations: 2.034 MB / 301.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2175, allocations: 287.6 kB / 302 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004228/0.2179, allocations: 390.6 kB / 302.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006907/0.2248, allocations: 5.596 MB / 308 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.633e-05/0.2249, allocations: 50.3 kB / 308 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.2252, allocations: 183.5 kB / 308.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.2266, allocations: 1.677 MB / 309.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.231, allocations: 2.769 MB / 312.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02793/0.259, allocations: 34.29 MB / 346.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003535/0.2625, allocations: 1.576 MB / 348.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004621/0.263, allocations: 382.1 kB / 348.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005117/0.2681, allocations: 3.951 MB / 352.8 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.2681, allocations: 55.55 kB / 352.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.867e-06/0.2681, allocations: 2.531 kB / 352.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01271/0.2808, allocations: 5.499 MB / 358.4 MB, free: 4.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.2809, allocations: 149.5 kB / 358.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/0.2835, allocations: 3.478 MB / 362 MB, free: 1.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/0.2836, allocations: 45.7 kB / 362 MB, free: 1.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.285, allocations: 3.502 MB / 365.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007/0.2857, allocations: 0.6595 MB / 366.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009159/0.2866, allocations: 1.232 MB / 367.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.2866, allocations: 304.8 kB / 367.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2877, allocations: 0.7755 MB / 368.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003385/0.2911, allocations: 4.832 MB / 373.3 MB, free: 4.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004695/0.2958, allocations: 6.679 MB / 380 MB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.018e-05/0.2958, allocations: 48 kB / 380.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.005132/0.301, allocations: 4.44 MB / 384.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.301, allocations: 68 kB / 384.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.3011, allocations: 159.1 kB / 384.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003835/0.3015, allocations: 259.6 kB / 385 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.3041, allocations: 1.665 MB / 386.6 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.3053, allocations: 1.617 MB / 388.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.3077, allocations: 291.8 kB / 388.6 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/0.3081, allocations: 348 kB / 388.9 MB, free: 3.461 MB / 362.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.001407/0.3095, allocations: 0.6701 MB / 389.6 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.3099, allocations: 219.8 kB / 389.8 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.311, allocations: 0.8678 MB / 390.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.311, allocations: 16 kB / 390.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.311, allocations: 4 kB / 390.7 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.311, allocations: 3.984 kB / 390.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.3165, allocations: 4.222 MB / 394.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.3165, allocations: 16.09 kB / 394.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.3173, allocations: 299.6 kB / 395.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/0.3178, allocations: 433.3 kB / 395.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/0.3181, allocations: 63.59 kB / 395.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.3181, allocations: 39.98 kB / 395.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3192, allocations: 1.526 MB / 397.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.3192, allocations: 11.94 kB / 397.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.3208, allocations: 1.813 MB / 399.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.3211, allocations: 28 kB / 399.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.3216, allocations: 35.98 kB / 399.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/0.322, allocations: 104.7 kB / 399.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.3221, allocations: 43.98 kB / 399.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.3231, allocations: 1.259 MB / 400.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3231, allocations: 0 / 400.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003158/0.3263, allocations: 1.043 MB / 401.6 MB, free: 6.887 MB / 378.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.0003153/0.3266, allocations: 176.4 kB / 401.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.3294, allocations: 2.747 MB / 404.5 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001844/0.3296, allocations: 118.8 kB / 404.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006743/0.3303, allocations: 0.6293 MB / 405.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.3333, allocations: 3.164 MB / 408.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/0.3466, allocations: 8.353 MB / 416.8 MB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.3477, allocations: 1.363 MB / 418.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001297/0.349, allocations: 0.5151 MB / 418.6 MB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/0.3498, allocations: 0.5558 MB / 419.2 MB, free: 4.695 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3498, allocations: 0 / 419.2 MB, free: 4.695 MB / 394.7 MB Notification: Performance of Templates: time 0.1534/0.5031, allocations: 28.75 MB / 447.9 MB, free: 117.2 MB / 394.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.352797263301909]