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.001076/0.001076, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002175/0.003251, allocations: 449.7 kB / 10.37 MB, free: 324 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.001053/0.001053, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002514, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9197/0.9197, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08567/1.005, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.593e-06/1.593e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.845e-05, allocations: 5.688 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01052/0.01054, allocations: 12.41 MB / 257.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006498/0.01704, allocations: 4.422 MB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.01785, allocations: 91.56 kB / 261.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.02106, allocations: 3.765 MB / 265.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003021/0.02408, allocations: 2.08 MB / 267.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009894/0.02507, allocations: 0.7017 MB / 268.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003204/0.02828, allocations: 4.556 MB / 273 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1133/0.1416, allocations: 3.787 MB / 276.8 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004323/0.1459, allocations: 3.014 MB / 279.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.1494, allocations: 2.364 MB / 282.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.1504, allocations: 403.8 kB / 282.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.1522, allocations: 1.097 MB / 283.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.1536, allocations: 2.084 MB / 285.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.1548, allocations: 1.235 MB / 287 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.1583, allocations: 4.722 MB / 291.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.1584, allocations: 0.7188 kB / 291.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1584, allocations: 0 / 291.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000155/0.1585, allocations: 1.219 kB / 291.7 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.006211/0.1647, allocations: 6.567 MB / 298.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.1648, allocations: 9.438 kB / 298.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.1671, allocations: 1.177 MB / 299.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.1691, allocations: 2.035 MB / 301.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1693, allocations: 287.8 kB / 301.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004059/0.1697, allocations: 392.5 kB / 302.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005598/0.1753, allocations: 5.594 MB / 307.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-05/0.1754, allocations: 48.75 kB / 307.8 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.1756, allocations: 181.4 kB / 308 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00141/0.1771, allocations: 1.793 MB / 309.8 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004192/0.1813, allocations: 2.777 MB / 312.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.2052, allocations: 34.28 MB / 346.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.2085, allocations: 1.57 MB / 348.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.209, allocations: 390.6 kB / 348.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004587/0.2136, allocations: 3.957 MB / 352.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2136, allocations: 51.56 kB / 352.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 2.725e-06/0.2136, allocations: 0 / 352.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01146/0.2251, allocations: 5.411 MB / 358.2 MB, free: 4.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2251, allocations: 149.4 kB / 358.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.2274, allocations: 3.475 MB / 361.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.2275, allocations: 49.7 kB / 361.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.2288, allocations: 3.505 MB / 365.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.2292, allocations: 0.6573 MB / 366.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.2304, allocations: 1.231 MB / 367.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.2304, allocations: 301.1 kB / 367.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.2315, allocations: 0.7794 MB / 368.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/0.2345, allocations: 4.825 MB / 373.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/0.2388, allocations: 6.211 MB / 379.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.293e-05/0.2389, allocations: 40 kB / 379.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.004567/0.2434, allocations: 4.444 MB / 383.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.2435, allocations: 68 kB / 383.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.825e-05/0.2436, allocations: 148 kB / 384.1 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.244, allocations: 272.2 kB / 384.4 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.2469, allocations: 1.653 MB / 386 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.248, allocations: 1.611 MB / 387.6 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.2499, allocations: 290.9 kB / 387.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/0.2502, allocations: 352 kB / 388.3 MB, free: 4.004 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.001201/0.2514, allocations: 0.6663 MB / 388.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.2517, allocations: 223.8 kB / 389.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2527, allocations: 0.8672 MB / 390 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.2528, allocations: 16 kB / 390 MB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2528, allocations: 4 kB / 390 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.2528, allocations: 7.969 kB / 390 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.258, allocations: 4.231 MB / 394.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.258, allocations: 4 kB / 394.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.2587, allocations: 300.3 kB / 394.6 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.2592, allocations: 433.3 kB / 395 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.2594, allocations: 71.52 kB / 395.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.2595, allocations: 32 kB / 395.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2606, allocations: 1.522 MB / 396.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.2606, allocations: 11.94 kB / 396.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.2623, allocations: 1.806 MB / 398.4 MB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.2625, allocations: 32 kB / 398.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.263, allocations: 32 kB / 398.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.2631, allocations: 108.8 kB / 398.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.2632, allocations: 40 kB / 398.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2644, allocations: 1.259 MB / 399.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2644, allocations: 0 / 399.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002536/0.267, allocations: 1.047 MB / 400.9 MB, free: 7.441 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.0002985/0.2673, allocations: 175.9 kB / 401.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.2697, allocations: 2.616 MB / 403.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001823/0.2699, allocations: 114.8 kB / 403.8 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005417/0.2704, allocations: 0.5433 MB / 404.4 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.272, allocations: 0.8925 MB / 405.3 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.285, allocations: 8.354 MB / 413.6 MB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.2863, allocations: 1.364 MB / 415 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001149/0.2875, allocations: 0.5229 MB / 415.5 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/0.2882, allocations: 0.5675 MB / 416.1 MB, free: 8.117 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2882, allocations: 0 / 416.1 MB, free: 8.117 MB / 394.7 MB Notification: Performance of Templates: time 0.1379/0.4261, allocations: 30.69 MB / 446.8 MB, free: 107.3 MB / 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.706908071413636]