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.001301/0.001301, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.000967/0.000967, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9265/0.9265, allocations: 177 MB / 204.9 MB, free: 5.586 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.623e-06/1.623e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.401e-05, allocations: 5.266 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01417/0.0142, allocations: 12.66 MB / 285.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.0222, allocations: 4.232 MB / 289.8 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.02378, allocations: 91.56 kB / 289.9 MB, free: 416 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1163/0.1401, allocations: 3.987 MB / 293.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004285/0.1444, allocations: 2.117 MB / 296 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1456, allocations: 0.7543 MB / 296.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004387/0.15, allocations: 4.634 MB / 301.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003586/0.1535, allocations: 3.996 MB / 305.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.1566, allocations: 2.911 MB / 308.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.1587, allocations: 2.493 MB / 310.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006046/0.1593, allocations: 408 kB / 311.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.1606, allocations: 1.068 MB / 312.3 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009395/0.1615, allocations: 2.344 MB / 314.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1628, allocations: 1.51 MB / 316.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003663/0.1664, allocations: 5.057 MB / 321.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1664, allocations: 0 / 321.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1664, allocations: 0 / 321.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.913e-05/0.1665, allocations: 0 / 321.2 MB, free: 15.39 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.008357/0.1749, allocations: 6.58 MB / 327.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1749, allocations: 19.92 kB / 327.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005654/0.1806, allocations: 2.494 MB / 330.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.1837, allocations: 2.396 MB / 332.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.1839, allocations: 292.2 kB / 332.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/0.1844, allocations: 384.1 kB / 333.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009634/0.194, allocations: 6.811 MB / 340.1 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.1941, allocations: 53 kB / 340.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.1945, allocations: 179.5 kB / 340.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002145/0.1966, allocations: 1.964 MB / 342.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008595/0.2052, allocations: 3.456 MB / 345.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0367/0.2419, allocations: 47.77 MB / 393.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003968/0.2459, allocations: 1.795 MB / 395.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009575/0.2468, allocations: 0.5678 MB / 395.9 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005281/0.2521, allocations: 4.625 MB / 400.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2522, allocations: 46.39 kB / 400.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=146): time 3.526e-06/0.2522, allocations: 4 kB / 400.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=156): time 0.01746/0.2696, allocations: 9.912 MB / 410.5 MB, free: 4.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.2697, allocations: 145.5 kB / 410.6 MB, free: 4.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.2733, allocations: 3.879 MB / 414.5 MB, free: 248 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.2734, allocations: 53.7 kB / 414.6 MB, free: 188 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002089/0.2755, allocations: 3.908 MB / 418.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.276, allocations: 0.6793 MB / 419.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.2771, allocations: 1.412 MB / 420.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.2772, allocations: 476.8 kB / 421 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2782, allocations: 0.6451 MB / 421.7 MB, free: 9.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/0.282, allocations: 6.88 MB / 428.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/0.2883, allocations: 8.318 MB / 436.9 MB, free: 4.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.385e-05/0.2883, allocations: 44 kB / 436.9 MB, free: 4.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.1281/0.4164, allocations: 5.668 MB / 442.6 MB, free: 118.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.527e-05/0.4165, allocations: 71.47 kB / 442.7 MB, free: 118.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.4167, allocations: 150.6 kB / 442.8 MB, free: 118.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.4173, allocations: 301.7 kB / 443.1 MB, free: 118.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.4204, allocations: 1.553 MB / 444.7 MB, free: 118.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4218, allocations: 2.244 MB / 446.9 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.4243, allocations: 374.3 kB / 447.3 MB, free: 116.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/0.4247, allocations: 401.3 kB / 447.7 MB, free: 116.6 MB / 394.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.001209/0.4259, allocations: 0.7188 MB / 448.4 MB, free: 116.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/0.4263, allocations: 402.7 kB / 448.8 MB, free: 116.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.4279, allocations: 1.122 MB / 449.9 MB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.4279, allocations: 17.8 kB / 449.9 MB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.428, allocations: 6.766 kB / 449.9 MB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.428, allocations: 8.156 kB / 449.9 MB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/0.4345, allocations: 5.276 MB / 455.2 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4345, allocations: 10.84 kB / 455.2 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.4351, allocations: 286.4 kB / 455.5 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/0.4354, allocations: 110.2 kB / 455.6 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.061e-05/0.4355, allocations: 41.42 kB / 455.6 MB, free: 115.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009624/0.4364, allocations: 1.965 MB / 457.6 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4365, allocations: 11.84 kB / 457.6 MB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/0.4385, allocations: 2.385 MB / 460 MB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.4391, allocations: 0.4923 MB / 460.5 MB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.4393, allocations: 36.83 kB / 460.5 MB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.4399, allocations: 92.52 kB / 460.6 MB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.44, allocations: 119.2 kB / 460.7 MB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.4401, allocations: 46.94 kB / 460.8 MB, free: 112.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.4416, allocations: 1.645 MB / 462.4 MB, free: 112.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4416, allocations: 0 / 462.4 MB, free: 112.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002836/0.4444, allocations: 1.037 MB / 463.5 MB, free: 112.6 MB / 394.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.0003139/0.4447, allocations: 189 kB / 463.7 MB, free: 112.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.448, allocations: 3.105 MB / 466.8 MB, free: 111.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.448, allocations: 1.312 kB / 466.8 MB, free: 111.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.4488, allocations: 0.7314 MB / 467.5 MB, free: 111.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.45, allocations: 446.1 kB / 467.9 MB, free: 111.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008374/0.4584, allocations: 8.387 MB / 476.3 MB, free: 105.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/0.4593, allocations: 1.367 MB / 477.7 MB, free: 104.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002141/0.4614, allocations: 1.704 MB / 479.4 MB, free: 103.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.4619, allocations: 246.8 kB / 479.6 MB, free: 103.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4619, allocations: 3.062 kB / 479.6 MB, free: 103.6 MB / 394.7 MB Notification: Performance of Templates: time 0.03821/0.5001, allocations: 28.26 MB / 0.496 GB, free: 76.57 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 -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.805187501013279]