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.001303/0.001304, allocations: 116.9 kB / 18.41 MB, free: 4.535 MB / 14.72 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.001353/0.001353, allocations: 190.9 kB / 21.35 MB, free: 1.602 MB / 14.72 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.462/1.462, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.1 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 0.001524/0.001524, allocations: 47.92 kB / 358.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 49.44 MB / 408.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01402/0.1236, allocations: 11.12 MB / 419.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.1322, allocations: 3.816 MB / 423 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.1339, allocations: 63.81 kB / 423.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005177/0.1391, allocations: 2.694 MB / 425.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.1443, allocations: 1.809 MB / 427.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.1458, allocations: 0.5654 MB / 428.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2366/0.3824, allocations: 3.587 MB / 431.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004767/0.3872, allocations: 3.612 MB / 435.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.3909, allocations: 1.464 MB / 436.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003958/0.3949, allocations: 2.005 MB / 438.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.3962, allocations: 319.2 kB / 439.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.3992, allocations: 1.06 MB / 440.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002637/0.4019, allocations: 1.822 MB / 442 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003337/0.4052, allocations: 2.128 MB / 444.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009377/0.4146, allocations: 6.831 MB / 451 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4147, allocations: 0 / 451 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4147, allocations: 0 / 451 MB, free: 2.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002869/0.415, allocations: 1.312 kB / 451 MB, free: 2.32 MB / 350.1 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.0213/0.4363, allocations: 5.226 MB / 456.2 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.4363, allocations: 9.5 kB / 456.2 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.4437, allocations: 1.884 MB / 458.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/0.4505, allocations: 2.277 MB / 460.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.4508, allocations: 229.6 kB / 460.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/0.4524, allocations: 304 kB / 460.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.4749, allocations: 10.22 MB / 471.1 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.4751, allocations: 49.12 kB / 471.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004923/0.4756, allocations: 143 kB / 471.3 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003652/0.4792, allocations: 1.868 MB / 473.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.5016, allocations: 9.115 MB / 482.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05699/0.5586, allocations: 38.22 MB / 0.5083 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.5719, allocations: 3.588 MB / 0.5118 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.5745, allocations: 1.676 MB / 0.5135 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.5752, allocations: 361.3 kB / 0.5138 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.5753, allocations: 46.31 kB / 0.5138 GB, free: 15.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.697e-06/0.5753, allocations: 0 / 0.5138 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04404/0.6193, allocations: 12.95 MB / 0.5265 GB, free: 2.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.6195, allocations: 152.4 kB / 0.5266 GB, free: 2.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006433/0.6259, allocations: 4.065 MB / 0.5306 GB, free: 14.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003836/0.6263, allocations: 45.7 kB / 0.5306 GB, free: 14.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.6289, allocations: 3.178 MB / 0.5337 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008511/0.6297, allocations: 0.5642 MB / 0.5343 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.6315, allocations: 1.186 MB / 0.5355 GB, free: 9.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6316, allocations: 309.1 kB / 0.5358 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/0.635, allocations: 1.963 MB / 0.5377 GB, free: 7.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00648/0.6415, allocations: 5.675 MB / 0.5432 GB, free: 15.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.6523, allocations: 8.287 MB / 0.5513 GB, free: 5.602 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.6525, allocations: 40 kB / 0.5513 GB, free: 5.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01723/0.6697, allocations: 8.116 MB / 0.5593 GB, free: 13.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/0.6699, allocations: 60 kB / 0.5593 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/0.67, allocations: 132 kB / 0.5594 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.6726, allocations: 0.9153 MB / 0.5603 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/0.6772, allocations: 1.326 MB / 0.5616 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.6847, allocations: 5.204 MB / 0.5667 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/0.6899, allocations: 307.8 kB / 0.567 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/0.6913, allocations: 374.5 kB / 0.5674 GB, free: 5 MB / 478.1 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.004606/0.6959, allocations: 2.009 MB / 0.5693 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007897/0.6967, allocations: 349.7 kB / 0.5697 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/0.7023, allocations: 2.77 MB / 0.5724 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.7024, allocations: 16 kB / 0.5724 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7024, allocations: 7.844 kB / 0.5724 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.7025, allocations: 7.969 kB / 0.5724 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.7173, allocations: 7.133 MB / 0.5794 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.7174, allocations: 0 / 0.5794 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7185, allocations: 215.7 kB / 0.5796 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.7208, allocations: 0.7109 MB / 0.5803 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.721, allocations: 31.97 kB / 0.5803 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006666/0.7276, allocations: 4.76 MB / 0.5849 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.7277, allocations: 1.094 kB / 0.5849 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008606/0.7363, allocations: 5.107 MB / 0.5899 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.7375, allocations: 410.6 kB / 0.5903 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.7381, allocations: 20 kB / 0.5903 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.7393, allocations: 74.17 kB / 0.5904 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.7397, allocations: 92.47 kB / 0.5905 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/0.7398, allocations: 47.97 kB / 0.5906 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004498/0.7443, allocations: 2.541 MB / 0.593 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7443, allocations: 0 / 0.593 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005619/0.7499, allocations: 0.9061 MB / 0.5939 GB, free: 9.531 MB / 0.4981 GB 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.0004699/0.7504, allocations: 153.6 kB / 0.5941 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008228/0.7587, allocations: 4.695 MB / 0.5986 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7587, allocations: 0 / 0.5986 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.7608, allocations: 1.345 MB / 0.6 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.7637, allocations: 438.8 kB / 0.6004 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.7814, allocations: 8.982 MB / 0.6092 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/0.7854, allocations: 3.104 MB / 0.6122 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.7865, allocations: 303.3 kB / 0.6125 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.7865, allocations: 0 / 0.6125 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of Templates: time 0.3278/1.114, allocations: 72.38 MB / 0.6832 GB, free: 129 MB / 0.5137 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.301227000076324]