Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001896/0.001896, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001995/0.001995, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.945e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01763/0.01766, allocations: 12.58 MB / 284.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.028, allocations: 4.209 MB / 289.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.03033, allocations: 95.56 kB / 289.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1414/0.1717, allocations: 3.976 MB / 293.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.1781, allocations: 2.102 MB / 295.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.1805, allocations: 0.7623 MB / 296 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007538/0.188, allocations: 4.624 MB / 300.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00682/0.1949, allocations: 4 MB / 304.7 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006551/0.2014, allocations: 2.779 MB / 307.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004083/0.2055, allocations: 2.601 MB / 310.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.2069, allocations: 412.1 kB / 310.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.2096, allocations: 1.091 MB / 311.5 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002221/0.2118, allocations: 2.354 MB / 313.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.2142, allocations: 1.527 MB / 315.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008435/0.2227, allocations: 8.142 MB / 323.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2227, allocations: 0 / 323.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2227, allocations: 0 / 323.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002307/0.2229, allocations: 0 / 323.6 MB, free: 12.62 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.02389/0.2468, allocations: 7.285 MB / 330.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2468, allocations: 8.031 kB / 330.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008926/0.2558, allocations: 2.509 MB / 333.4 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007441/0.2632, allocations: 2.444 MB / 335.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003336/0.2636, allocations: 291.2 kB / 336.1 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.2652, allocations: 394.1 kB / 336.5 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/0.2874, allocations: 7.839 MB / 344.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.2875, allocations: 54.12 kB / 344.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005937/0.2881, allocations: 183.5 kB / 344.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004825/0.293, allocations: 2.192 MB / 346.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.3115, allocations: 4.711 MB / 351.5 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08288/0.3944, allocations: 52.34 MB / 403.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.4116, allocations: 2.842 MB / 406.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/0.4144, allocations: 0.9933 MB / 407.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.4151, allocations: 143.3 kB / 407.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.4151, allocations: 58.7 kB / 407.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 4.879e-06/0.4151, allocations: 3.938 kB / 407.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.07819/0.4933, allocations: 17.53 MB / 425.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.4935, allocations: 150.5 kB / 425.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/0.5038, allocations: 4.732 MB / 430.2 MB, free: 356 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006939/0.5045, allocations: 61.7 kB / 430.3 MB, free: 288 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1476/0.6521, allocations: 3.947 MB / 434.2 MB, free: 115.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001663/0.6537, allocations: 1.004 MB / 435.3 MB, free: 114.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004396/0.6581, allocations: 1.813 MB / 437.1 MB, free: 114.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.6582, allocations: 477.8 kB / 437.5 MB, free: 113.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/0.6613, allocations: 1.046 MB / 438.6 MB, free: 113.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006055/0.6674, allocations: 7.091 MB / 445.7 MB, free: 106.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.6775, allocations: 8.999 MB / 454.7 MB, free: 98.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002876/0.6778, allocations: 38.94 kB / 454.7 MB, free: 98.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01622/0.694, allocations: 7.004 MB / 461.7 MB, free: 95.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.6941, allocations: 63.47 kB / 461.8 MB, free: 95.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/0.6943, allocations: 141.7 kB / 461.9 MB, free: 95.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.6966, allocations: 0.6861 MB / 462.6 MB, free: 95.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006049/0.7027, allocations: 1.754 MB / 464.4 MB, free: 95.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/0.7075, allocations: 3.467 MB / 467.8 MB, free: 93.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/0.7129, allocations: 437.7 kB / 468.2 MB, free: 93.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009147/0.7138, allocations: 467.5 kB / 468.7 MB, free: 92.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 (834): * Single equations (assignments): 830 * 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.00219/0.716, allocations: 0.8211 MB / 469.5 MB, free: 92.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008673/0.7169, allocations: 446.9 kB / 470 MB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006623/0.7235, allocations: 2.931 MB / 472.9 MB, free: 90.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.7235, allocations: 24 kB / 472.9 MB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7235, allocations: 4 kB / 472.9 MB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.7236, allocations: 13.78 kB / 472.9 MB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.7395, allocations: 8.572 MB / 481.5 MB, free: 82.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.7395, allocations: 6.812 kB / 481.5 MB, free: 82.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/0.7421, allocations: 0.5659 MB / 482.1 MB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.7442, allocations: 0.5105 MB / 482.6 MB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.7444, allocations: 95.89 kB / 482.7 MB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.7486, allocations: 3.207 MB / 485.9 MB, free: 77.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7486, allocations: 8 kB / 485.9 MB, free: 77.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008208/0.7568, allocations: 4.377 MB / 490.3 MB, free: 73.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/0.759, allocations: 0.7503 MB / 491 MB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005903/0.7596, allocations: 51.98 kB / 491.1 MB, free: 72.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/0.7618, allocations: 191.8 kB / 491.3 MB, free: 72.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/0.7622, allocations: 201.5 kB / 491.5 MB, free: 71.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/0.7625, allocations: 119.9 kB / 491.6 MB, free: 71.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002419/0.7649, allocations: 1.904 MB / 493.5 MB, free: 69.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7649, allocations: 4 kB / 493.5 MB, free: 69.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005609/0.7705, allocations: 1.238 MB / 494.7 MB, free: 68.72 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 (203): * Single equations (assignments): 199 * 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.0005034/0.771, allocations: 201.7 kB / 494.9 MB, free: 68.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00753/0.7785, allocations: 4.353 MB / 499.3 MB, free: 64.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7785, allocations: 0 / 499.3 MB, free: 64.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.781, allocations: 1.438 MB / 0.489 GB, free: 62.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.7836, allocations: 0.4933 MB / 0.4895 GB, free: 62.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.7977, allocations: 9.355 MB / 0.4986 GB, free: 52.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/0.8004, allocations: 2.823 MB / 0.5013 GB, free: 49.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004082/0.8045, allocations: 1.86 MB / 0.5032 GB, free: 48.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.8058, allocations: 460.1 kB / 0.5036 GB, free: 47.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.021e-06/0.8058, allocations: 0 / 0.5036 GB, free: 47.63 MB / 378.7 MB Notification: Performance of Templates: time 0.07352/0.8793, allocations: 49.06 MB / 0.5515 GB, free: 15.07 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.248986701946706]