Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 227.7 MB / 247.9 MB, free: 10.14 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2872, allocations: 50.54 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01293/0.3001, allocations: 11.03 MB / 421.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.3081, allocations: 3.824 MB / 425.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.3095, allocations: 63.81 kB / 425.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.3144, allocations: 2.71 MB / 427.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004402/0.3188, allocations: 1.79 MB / 429.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3202, allocations: 0.5732 MB / 430.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.3252, allocations: 3.581 MB / 433.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/0.3289, allocations: 2.987 MB / 436.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.3314, allocations: 1.444 MB / 438.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.3343, allocations: 1.99 MB / 440.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006919/0.335, allocations: 316 kB / 440.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.337, allocations: 1.038 MB / 441.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.3387, allocations: 1.835 MB / 443.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.341, allocations: 2.078 MB / 445.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.3492, allocations: 6.68 MB / 452.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3492, allocations: 4 kB / 452.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3492, allocations: 0 / 452.1 MB, free: 7.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.3495, allocations: 3.938 kB / 452.1 MB, free: 7.285 MB / 366.1 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.01871/0.3682, allocations: 5.165 MB / 457.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3682, allocations: 8.031 kB / 457.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007292/0.3755, allocations: 1.874 MB / 459.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/0.3812, allocations: 2.245 MB / 461.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.3814, allocations: 229.7 kB / 461.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000917/0.3823, allocations: 299.8 kB / 461.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.4017, allocations: 10.02 MB / 472 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.4018, allocations: 47.64 kB / 472 MB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.4023, allocations: 143.8 kB / 472.2 MB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00364/0.4059, allocations: 1.801 MB / 474 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.4253, allocations: 8.97 MB / 482.9 MB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04969/0.475, allocations: 37.8 MB / 0.5085 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.4886, allocations: 3.489 MB / 0.5119 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/0.491, allocations: 1.586 MB / 0.5135 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006995/0.4917, allocations: 351.8 kB / 0.5138 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/0.4917, allocations: 59 kB / 0.5139 GB, free: 11.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.276e-06/0.4917, allocations: 0 / 0.5139 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04372/0.5354, allocations: 12.87 MB / 0.5264 GB, free: 14.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.5355, allocations: 149.2 kB / 0.5266 GB, free: 13.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005657/0.5412, allocations: 4.057 MB / 0.5305 GB, free: 9.855 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.5415, allocations: 45.64 kB / 0.5306 GB, free: 9.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002468/0.5439, allocations: 3.131 MB / 0.5336 GB, free: 6.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007864/0.5447, allocations: 0.5623 MB / 0.5342 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.5464, allocations: 1.174 MB / 0.5353 GB, free: 4.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5465, allocations: 305.1 kB / 0.5356 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.5495, allocations: 1.967 MB / 0.5376 GB, free: 2.617 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2238/0.7733, allocations: 5.652 MB / 0.5431 GB, free: 118 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.7839, allocations: 8.26 MB / 0.5511 GB, free: 111.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003147/0.7842, allocations: 39.31 kB / 0.5512 GB, free: 111.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01377/0.798, allocations: 8.091 MB / 0.5591 GB, free: 108.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.7981, allocations: 62.97 kB / 0.5591 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/0.7982, allocations: 133 kB / 0.5593 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.8007, allocations: 0.9064 MB / 0.5601 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/0.8046, allocations: 1.321 MB / 0.5614 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.8102, allocations: 5.189 MB / 0.5665 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/0.8147, allocations: 304.4 kB / 0.5668 GB, free: 104.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008782/0.8156, allocations: 371.5 kB / 0.5672 GB, free: 103.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * 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 (699): * Single equations (assignments): 695 * 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.002858/0.8185, allocations: 1.985 MB / 0.5691 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/0.819, allocations: 355.5 kB / 0.5694 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.8236, allocations: 2.757 MB / 0.5721 GB, free: 99.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.8237, allocations: 16 kB / 0.5721 GB, free: 99.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.8237, allocations: 4 kB / 0.5721 GB, free: 99.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8237, allocations: 7.969 kB / 0.5721 GB, free: 99.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.8339, allocations: 7.049 MB / 0.579 GB, free: 92.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.8339, allocations: 4.875 kB / 0.579 GB, free: 92.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.8349, allocations: 211.6 kB / 0.5792 GB, free: 92.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.8369, allocations: 0.7193 MB / 0.5799 GB, free: 91.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.8371, allocations: 31.97 kB / 0.58 GB, free: 91.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004909/0.842, allocations: 4.748 MB / 0.5846 GB, free: 86.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.842, allocations: 4 kB / 0.5846 GB, free: 86.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/0.8484, allocations: 5.1 MB / 0.5896 GB, free: 81.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009916/0.8494, allocations: 403.6 kB / 0.59 GB, free: 81.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.8497, allocations: 20 kB / 0.59 GB, free: 81.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.8509, allocations: 75.91 kB / 0.5901 GB, free: 81.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.8511, allocations: 88.47 kB / 0.5902 GB, free: 81.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.8512, allocations: 43.97 kB / 0.5902 GB, free: 81.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003047/0.8543, allocations: 2.533 MB / 0.5927 GB, free: 78.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8543, allocations: 0 / 0.5927 GB, free: 78.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004931/0.8592, allocations: 0.8968 MB / 0.5935 GB, free: 77.85 MB / 462.1 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.000397/0.8596, allocations: 149.5 kB / 0.5937 GB, free: 77.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.8659, allocations: 4.533 MB / 0.5981 GB, free: 73.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8659, allocations: 4 kB / 0.5981 GB, free: 73.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.8675, allocations: 1.264 MB / 0.5994 GB, free: 71.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00332/0.8708, allocations: 423.5 kB / 0.5998 GB, free: 71.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.8855, allocations: 8.456 MB / 0.608 GB, free: 63.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/0.8883, allocations: 3.068 MB / 0.611 GB, free: 59.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003675/0.892, allocations: 1.838 MB / 0.6128 GB, free: 58.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006608/0.8927, allocations: 255.3 kB / 0.613 GB, free: 57.84 MB / 462.1 MB Notification: Performance of SimCode: time 1.783e-06/0.8927, allocations: 0 / 0.613 GB, free: 57.84 MB / 462.1 MB Notification: Performance of Templates: time 0.05719/0.9499, allocations: 31.92 MB / 0.6442 GB, free: 26.14 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches