Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 104.4 kB / 18.35 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 47.94 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07803/0.07926, allocations: 46.63 MB / 328.7 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01393/0.09321, allocations: 13.76 MB / 342.5 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1033, allocations: 4.373 MB / 346.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.1061, allocations: 83.75 kB / 347 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007301/0.1135, allocations: 3.75 MB / 350.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.119, allocations: 2.108 MB / 352.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1208, allocations: 0.6863 MB / 353.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006192/0.127, allocations: 4.412 MB / 357.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005543/0.1326, allocations: 4.832 MB / 362.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.135, allocations: 1.912 MB / 364.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.1378, allocations: 2.586 MB / 367.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006279/0.1384, allocations: 432 kB / 367.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.1403, allocations: 1.159 MB / 368.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001824/0.1421, allocations: 2.326 MB / 371.1 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.1444, allocations: 2.754 MB / 373.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1694/0.3138, allocations: 8.585 MB / 382.5 MB, free: 24.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.3139, allocations: 2.375 kB / 382.5 MB, free: 24.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3139, allocations: 1.375 kB / 382.5 MB, free: 24.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002979/0.3142, allocations: 0 / 382.5 MB, free: 24.27 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02424/0.3384, allocations: 6.424 MB / 388.9 MB, free: 22.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3385, allocations: 11.94 kB / 388.9 MB, free: 22.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007365/0.3459, allocations: 1.99 MB / 390.9 MB, free: 21.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008197/0.3541, allocations: 2.807 MB / 393.7 MB, free: 21.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.3544, allocations: 316 kB / 394 MB, free: 21.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/0.3558, allocations: 401.2 kB / 394.4 MB, free: 21.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.3803, allocations: 12.87 MB / 407.3 MB, free: 16.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002562/0.3806, allocations: 50.94 kB / 407.3 MB, free: 16.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/0.3823, allocations: 189 kB / 407.5 MB, free: 16.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004203/0.3866, allocations: 2.373 MB / 409.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.4083, allocations: 11.74 MB / 421.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07021/0.4786, allocations: 48.41 MB / 470 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01815/0.4968, allocations: 5.573 MB / 475.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004436/0.5013, allocations: 3.479 MB / 479.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.502, allocations: 385.7 kB / 479.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.502, allocations: 63.72 kB / 479.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.28e-06/0.502, allocations: 0 / 479.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07658/0.5786, allocations: 27.93 MB / 0.4956 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.5787, allocations: 157.9 kB / 0.4957 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006484/0.5852, allocations: 4.608 MB / 0.5002 GB, free: 10.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005336/0.5858, allocations: 63.81 kB / 0.5003 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002682/0.5885, allocations: 3.579 MB / 0.5038 GB, free: 6.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.5895, allocations: 0.9528 MB / 0.5047 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001917/0.5914, allocations: 1.502 MB / 0.5062 GB, free: 4.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.5915, allocations: 302.9 kB / 0.5065 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00468/0.5962, allocations: 3.457 MB / 0.5098 GB, free: 340 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/0.6035, allocations: 7.521 MB / 0.5172 GB, free: 6.879 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/0.6187, allocations: 11.82 MB / 0.5287 GB, free: 9.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001494/0.6189, allocations: 44 kB / 0.5288 GB, free: 9.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.2082/0.8271, allocations: 11.89 MB / 0.5404 GB, free: 155.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.8273, allocations: 67 kB / 0.5404 GB, free: 155.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/0.8276, allocations: 147.2 kB / 0.5406 GB, free: 155.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.8308, allocations: 1.13 MB / 0.5417 GB, free: 155.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007061/0.8379, allocations: 1.797 MB / 0.5434 GB, free: 155.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/0.8455, allocations: 6.358 MB / 0.5497 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006368/0.8519, allocations: 419.8 kB / 0.5501 GB, free: 153.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/0.8531, allocations: 467.3 kB / 0.5505 GB, free: 153.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (875): * Single equations (assignments): 871 * 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.003874/0.857, allocations: 2.447 MB / 0.5529 GB, free: 152.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008438/0.8579, allocations: 412.4 kB / 0.5533 GB, free: 152.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008977/0.8668, allocations: 6.485 MB / 0.5596 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.411e-05/0.8669, allocations: 27.5 kB / 0.5596 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.8669, allocations: 11 kB / 0.5597 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.867, allocations: 11.39 kB / 0.5597 GB, free: 150.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/0.8863, allocations: 13.57 MB / 0.5729 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.8864, allocations: 4 kB / 0.5729 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002724/0.8891, allocations: 0.5765 MB / 0.5735 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.8913, allocations: 0.9454 MB / 0.5744 GB, free: 141.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.8915, allocations: 95.83 kB / 0.5745 GB, free: 141.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006124/0.8977, allocations: 6.052 MB / 0.5804 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.8977, allocations: 7.469 kB / 0.5804 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.9099, allocations: 10.92 MB / 0.5911 GB, free: 124.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/0.9122, allocations: 0.9319 MB / 0.592 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/0.9127, allocations: 45.53 kB / 0.592 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/0.9148, allocations: 171.8 kB / 0.5922 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004692/0.9153, allocations: 204.4 kB / 0.5924 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/0.9155, allocations: 107.9 kB / 0.5925 GB, free: 123.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003263/0.9188, allocations: 2.895 MB / 0.5953 GB, free: 120.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9188, allocations: 0 / 0.5953 GB, free: 120.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004725/0.9235, allocations: 1.268 MB / 0.5966 GB, free: 119.3 MB / 446.1 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 (225): * Single equations (assignments): 221 * 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.0004313/0.924, allocations: 193.6 kB / 0.5968 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009061/0.933, allocations: 8.152 MB / 0.6047 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9331, allocations: 2.188 kB / 0.6047 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.9364, allocations: 3.162 MB / 0.6078 GB, free: 107.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.939, allocations: 0.5112 MB / 0.6083 GB, free: 107.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.9549, allocations: 12.45 MB / 0.6205 GB, free: 94.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/0.9578, allocations: 3.804 MB / 0.6242 GB, free: 91.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004502/0.9623, allocations: 2.396 MB / 0.6265 GB, free: 88.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.9635, allocations: 431.1 kB / 0.6269 GB, free: 88.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.001e-06/0.9636, allocations: 0 / 0.6269 GB, free: 88.29 MB / 446.1 MB Notification: Performance of Templates: time 0.07873/1.042, allocations: 52.1 MB / 0.6778 GB, free: 36.29 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches