Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.0009703/0.0009703, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001608/0.001608, allocations: 161.5 kB / 24.91 MB, free: 8.762 MB / 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.9134/0.9134, allocations: 177 MB / 205.2 MB, free: 4.984 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.682e-05, allocations: 5.266 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.007902/0.007919, allocations: 10.41 MB / 283.8 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005841/0.01376, allocations: 3.873 MB / 287.7 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.01461, allocations: 79.62 kB / 287.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1062/0.1208, allocations: 2.87 MB / 290.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.1245, allocations: 1.878 MB / 292.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1255, allocations: 0.6425 MB / 293.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.1295, allocations: 3.969 MB / 297.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.1326, allocations: 3.165 MB / 300.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.1353, allocations: 2.287 MB / 302.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.1376, allocations: 2.002 MB / 304.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006198/0.1382, allocations: 314.3 kB / 304.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1394, allocations: 0.9702 MB / 305.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.1404, allocations: 1.912 MB / 307.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1414, allocations: 1.2 MB / 308.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.1441, allocations: 4.242 MB / 313.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1441, allocations: 0 / 313.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1441, allocations: 0 / 313.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.441e-05/0.1442, allocations: 4 kB / 313.2 MB, free: 7.195 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.003905/0.1481, allocations: 4.435 MB / 317.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1482, allocations: 11.98 kB / 317.6 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.1504, allocations: 1.049 MB / 318.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.1519, allocations: 1.675 MB / 320.4 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.152, allocations: 230.3 kB / 320.6 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.1523, allocations: 298.5 kB / 320.9 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/0.1567, allocations: 4.585 MB / 325.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.671e-05/0.1567, allocations: 40.11 kB / 325.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/0.157, allocations: 146.5 kB / 325.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/0.1582, allocations: 1.518 MB / 327.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.1615, allocations: 2.225 MB / 329.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.1795, allocations: 29.22 MB / 358.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.1816, allocations: 1.032 MB / 359.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.1819, allocations: 237.7 kB / 359.9 MB, free: 9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003172/0.1851, allocations: 2.658 MB / 362.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1851, allocations: 42.89 kB / 362.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=93): time 2.494e-06/0.1851, allocations: 0 / 362.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.004442/0.1896, allocations: 2.328 MB / 364.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1896, allocations: 144.5 kB / 365 MB, free: 3.797 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.1919, allocations: 3.168 MB / 368.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.1919, allocations: 37.7 kB / 368.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.1934, allocations: 3.047 MB / 371.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.1937, allocations: 444.9 kB / 371.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000767/0.1944, allocations: 1.072 MB / 372.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.1945, allocations: 309.1 kB / 373.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.1954, allocations: 0.6396 MB / 373.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/0.198, allocations: 4.329 MB / 378.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.2018, allocations: 5.52 MB / 383.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.181e-05/0.2018, allocations: 40 kB / 383.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=729) (initialization): time 0.003936/0.2058, allocations: 3.862 MB / 387.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.2058, allocations: 64.22 kB / 387.5 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.695e-05/0.2059, allocations: 144 kB / 387.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.2062, allocations: 223.6 kB / 387.9 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.208, allocations: 1.279 MB / 389.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008766/0.2089, allocations: 1.506 MB / 390.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.2106, allocations: 263.7 kB / 390.9 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.2108, allocations: 316 kB / 391.3 MB, free: 5.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (703): * Single equations (assignments): 699 * 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.000837/0.2116, allocations: 0.603 MB / 391.9 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.2119, allocations: 179.7 kB / 392 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/0.2124, allocations: 485.5 kB / 392.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.2124, allocations: 15.94 kB / 392.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2124, allocations: 0 / 392.5 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2124, allocations: 7.984 kB / 392.5 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.2157, allocations: 2.788 MB / 395.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2157, allocations: 4 kB / 395.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.216, allocations: 140.1 kB / 395.5 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.2162, allocations: 39.64 kB / 395.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.2162, allocations: 23.92 kB / 395.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008196/0.217, allocations: 1.431 MB / 397 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.217, allocations: 7.938 kB / 397 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.218, allocations: 1.209 MB / 398.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.2182, allocations: 269.8 kB / 398.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.2184, allocations: 19.98 kB / 398.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.2188, allocations: 20.03 kB / 398.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.2189, allocations: 59.78 kB / 398.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.2189, allocations: 27.97 kB / 398.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008698/0.2198, allocations: 1.131 MB / 399.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2198, allocations: 0 / 399.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002214/0.222, allocations: 0.8359 MB / 400.5 MB, free: 12.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (71): * Single equations (assignments): 67 * 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.0002475/0.2222, allocations: 148.1 kB / 400.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.2244, allocations: 2.158 MB / 402.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001552/0.2245, allocations: 100.2 kB / 402.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.2248, allocations: 326 kB / 403.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.2261, allocations: 0.5534 MB / 403.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.2328, allocations: 6.393 MB / 410.2 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.2337, allocations: 1.112 MB / 411.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009759/0.2347, allocations: 448.9 kB / 411.7 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.2352, allocations: 485.2 kB / 412.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2352, allocations: 0 / 412.2 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of Templates: time 0.1337/0.3689, allocations: 22.28 MB / 434.5 MB, free: 113.8 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.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.471724173054099]