Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.00242/0.00242, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002641/0.002641, allocations: 153.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.51/1.51, allocations: 173.3 MB / 200.8 MB, free: 9.312 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.698e-05, allocations: 6.25 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01602/0.01605, allocations: 10.79 MB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02624, allocations: 3.742 MB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.02842, allocations: 71.69 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006827/0.03525, allocations: 2.889 MB / 284.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.04094, allocations: 1.929 MB / 286.7 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.04267, allocations: 0.6353 MB / 287.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1467/0.1894, allocations: 3.938 MB / 291.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005088/0.1945, allocations: 3.105 MB / 294.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.2008, allocations: 2.24 MB / 296.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004777/0.2056, allocations: 2.199 MB / 298.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.2071, allocations: 324.4 kB / 299.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.2104, allocations: 1.008 MB / 300.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002936/0.2133, allocations: 1.984 MB / 302.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002618/0.2159, allocations: 1.237 MB / 303.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007838/0.2238, allocations: 6.881 MB / 310.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2238, allocations: 1.188 kB / 310.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2238, allocations: 0 / 310.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002514/0.224, allocations: 0 / 310.3 MB, free: 10.38 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01923/0.2433, allocations: 6.091 MB / 316.4 MB, free: 6.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2433, allocations: 12.11 kB / 316.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006902/0.2502, allocations: 2.334 MB / 318.7 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.2549, allocations: 2.051 MB / 320.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.255, allocations: 224.7 kB / 321 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006008/0.2556, allocations: 303.8 kB / 321.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.2723, allocations: 6.548 MB / 327.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.2725, allocations: 42.5 kB / 327.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004527/0.2729, allocations: 147.6 kB / 328 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004021/0.2769, allocations: 1.861 MB / 329.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.2911, allocations: 3.723 MB / 333.6 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0632/0.3543, allocations: 45.45 MB / 379 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.3668, allocations: 1.946 MB / 381 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.3683, allocations: 0.5413 MB / 381.5 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005172/0.3688, allocations: 124 kB / 381.7 MB, free: 3.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.3689, allocations: 46.05 kB / 381.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.186e-06/0.3689, allocations: 0 / 381.7 MB, free: 3.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.0428/0.4117, allocations: 9.753 MB / 391.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.4118, allocations: 148.5 kB / 391.6 MB, free: 9.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007904/0.4197, allocations: 4.313 MB / 395.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003801/0.4201, allocations: 41.7 kB / 396 MB, free: 5.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003497/0.4236, allocations: 3.541 MB / 399.5 MB, free: 1.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.4247, allocations: 0.614 MB / 400.1 MB, free: 1.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002522/0.4273, allocations: 1.494 MB / 401.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.4275, allocations: 484.7 kB / 402.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.4294, allocations: 0.663 MB / 402.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007493/0.4369, allocations: 6.362 MB / 409.1 MB, free: 5.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.4481, allocations: 7.718 MB / 416.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/0.4482, allocations: 40 kB / 416.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01504/0.4633, allocations: 5.593 MB / 422.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.4635, allocations: 69.5 kB / 422.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000286/0.4638, allocations: 132 kB / 422.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/0.4665, allocations: 0.6321 MB / 423.3 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/0.4713, allocations: 1.337 MB / 424.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0062/0.4775, allocations: 3.361 MB / 428 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/0.4822, allocations: 347.7 kB / 428.3 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1384/0.6206, allocations: 367.7 kB / 428.7 MB, free: 111.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.002098/0.6227, allocations: 0.7318 MB / 429.4 MB, free: 111.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007279/0.6234, allocations: 343.7 kB / 429.7 MB, free: 111.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.6276, allocations: 1.493 MB / 431.2 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.6276, allocations: 16.11 kB / 431.3 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.6277, allocations: 4.438 kB / 431.3 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.6277, allocations: 9.219 kB / 431.3 MB, free: 111 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.6398, allocations: 5.786 MB / 437.1 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.6398, allocations: 2.656 kB / 437.1 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.6408, allocations: 221 kB / 437.3 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.6428, allocations: 455.8 kB / 437.7 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6429, allocations: 35.89 kB / 437.7 MB, free: 110.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.6467, allocations: 3.048 MB / 440.8 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6467, allocations: 1.469 kB / 440.8 MB, free: 108.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.6517, allocations: 2.607 MB / 443.4 MB, free: 107.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/0.6525, allocations: 303.2 kB / 443.7 MB, free: 107.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.6528, allocations: 32.98 kB / 443.7 MB, free: 107.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.654, allocations: 97.42 kB / 443.8 MB, free: 107.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.6543, allocations: 103.2 kB / 443.9 MB, free: 107.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.6544, allocations: 51.14 kB / 444 MB, free: 107.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00262/0.657, allocations: 1.756 MB / 445.7 MB, free: 107.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.657, allocations: 0 / 445.7 MB, free: 107.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004974/0.662, allocations: 0.9765 MB / 446.7 MB, free: 107.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (101): * Single equations (assignments): 97 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004121/0.6624, allocations: 179.9 kB / 446.9 MB, free: 107.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004912/0.6673, allocations: 3.146 MB / 450 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6673, allocations: 6.953 kB / 450 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6684, allocations: 0.7566 MB / 450.8 MB, free: 106.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.6704, allocations: 394.1 kB / 451.2 MB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009885/0.6803, allocations: 6.97 MB / 458.2 MB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.6825, allocations: 2.33 MB / 460.5 MB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003017/0.6855, allocations: 1.56 MB / 462 MB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/0.6861, allocations: 252.4 kB / 462.3 MB, free: 101.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6861, allocations: 4 kB / 462.3 MB, free: 101.1 MB / 378.7 MB Notification: Performance of Templates: time 0.04937/0.7355, allocations: 29.39 MB / 491.7 MB, free: 72.2 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 6.420900432975031]