Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 99.86 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 173.3 MB / 200.8 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.805e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01823/0.01826, allocations: 12.72 MB / 280 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02974, allocations: 4.197 MB / 284.2 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.03166, allocations: 95.56 kB / 284.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008449/0.04011, allocations: 3.999 MB / 288.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1327/0.1728, allocations: 2.154 MB / 290.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.175, allocations: 0.742 MB / 291.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006196/0.1812, allocations: 4.604 MB / 295.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004928/0.1861, allocations: 4.028 MB / 299.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00441/0.1905, allocations: 2.816 MB / 302.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.1941, allocations: 2.629 MB / 305.3 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007281/0.1948, allocations: 416.7 kB / 305.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.1967, allocations: 1.099 MB / 306.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00152/0.1982, allocations: 2.414 MB / 309.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.1998, allocations: 1.559 MB / 310.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.2062, allocations: 8.291 MB / 319.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2062, allocations: 4 kB / 319.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2062, allocations: 3.984 kB / 319.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002145/0.2064, allocations: 0 / 319.1 MB, free: 3.215 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02195/0.2284, allocations: 7.335 MB / 326.4 MB, free: 11.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2284, allocations: 8.922 kB / 326.4 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008325/0.2367, allocations: 2.509 MB / 328.9 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/0.2435, allocations: 2.459 MB / 331.4 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002605/0.2438, allocations: 284.5 kB / 331.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008997/0.2447, allocations: 397.6 kB / 332.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01904/0.2637, allocations: 7.924 MB / 340 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/0.2639, allocations: 47.39 kB / 340 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005214/0.2644, allocations: 187.4 kB / 340.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004692/0.2691, allocations: 2.249 MB / 342.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.285, allocations: 4.768 MB / 347.2 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06967/0.3547, allocations: 52.79 MB / 400 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01609/0.3708, allocations: 2.845 MB / 402.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.373, allocations: 0.9888 MB / 403.9 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.3735, allocations: 149.1 kB / 404 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.3736, allocations: 58.7 kB / 404.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 4.018e-06/0.3736, allocations: 0 / 404.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.0681/0.4417, allocations: 17.58 MB / 421.6 MB, free: 11.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4418, allocations: 150.5 kB / 421.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00979/0.4516, allocations: 4.636 MB / 426.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007763/0.4524, allocations: 65.7 kB / 426.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005549/0.4579, allocations: 3.995 MB / 430.5 MB, free: 2.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002484/0.4604, allocations: 1.003 MB / 431.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1899/0.6503, allocations: 1.822 MB / 433.3 MB, free: 117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.6504, allocations: 485.5 kB / 433.8 MB, free: 116.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/0.6542, allocations: 1.046 MB / 434.8 MB, free: 116.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007112/0.6613, allocations: 7.124 MB / 441.9 MB, free: 109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/0.6725, allocations: 9.017 MB / 451 MB, free: 100.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004581/0.673, allocations: 41.78 kB / 451 MB, free: 100.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01953/0.6925, allocations: 7.027 MB / 458 MB, free: 99.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.6928, allocations: 65 kB / 458.1 MB, free: 99.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002926/0.6931, allocations: 139.6 kB / 458.2 MB, free: 99.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/0.6956, allocations: 0.6939 MB / 458.9 MB, free: 99.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00613/0.7018, allocations: 1.755 MB / 460.7 MB, free: 99.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/0.7069, allocations: 3.478 MB / 464.2 MB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/0.713, allocations: 435.2 kB / 464.6 MB, free: 97.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/0.7146, allocations: 474.6 kB / 465 MB, free: 97.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.003927/0.7185, allocations: 0.8231 MB / 465.9 MB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/0.7201, allocations: 447 kB / 466.3 MB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008204/0.7283, allocations: 2.931 MB / 469.2 MB, free: 96.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/0.7284, allocations: 25.25 kB / 469.3 MB, free: 96.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/0.7284, allocations: 2.219 kB / 469.3 MB, free: 96.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/0.7284, allocations: 16.8 kB / 469.3 MB, free: 96.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/0.7492, allocations: 8.611 MB / 477.9 MB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/0.7492, allocations: 4 kB / 477.9 MB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/0.752, allocations: 0.5654 MB / 478.5 MB, free: 89.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.7543, allocations: 0.5121 MB / 479 MB, free: 89.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00045/0.7547, allocations: 99.89 kB / 479.1 MB, free: 89.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/0.7592, allocations: 3.193 MB / 482.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.7592, allocations: 4 kB / 482.3 MB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00934/0.7685, allocations: 4.389 MB / 486.7 MB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/0.7711, allocations: 0.7484 MB / 487.4 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/0.7722, allocations: 48 kB / 487.5 MB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/0.775, allocations: 199.4 kB / 487.6 MB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005521/0.7756, allocations: 207.8 kB / 487.9 MB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/0.7759, allocations: 119.9 kB / 488 MB, free: 80.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003751/0.7796, allocations: 1.9 MB / 489.9 MB, free: 78.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7796, allocations: 3.938 kB / 489.9 MB, free: 78.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006941/0.7866, allocations: 1.267 MB / 491.1 MB, free: 77.27 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.0008433/0.7874, allocations: 216.6 kB / 491.4 MB, free: 77.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009382/0.7968, allocations: 4.367 MB / 495.7 MB, free: 72.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.7968, allocations: 192 / 495.7 MB, free: 72.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.7996, allocations: 1.433 MB / 497.2 MB, free: 71.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/0.8033, allocations: 0.4958 MB / 497.6 MB, free: 70.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.8206, allocations: 9.468 MB / 0.4952 GB, free: 61.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/0.8248, allocations: 2.858 MB / 0.498 GB, free: 58.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004704/0.8295, allocations: 1.88 MB / 0.4999 GB, free: 56.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/0.8314, allocations: 448.1 kB / 0.5003 GB, free: 56.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.8314, allocations: 4 kB / 0.5003 GB, free: 56.01 MB / 378.7 MB Notification: Performance of Templates: time 0.07906/0.9104, allocations: 49.31 MB / 0.5484 GB, free: 7.188 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1671137269586325]