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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001629, allocations: 113.2 kB / 17.75 MB, free: 5.223 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.001821/0.001821, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009444/0.0009445, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2152, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01152/0.2267, allocations: 11.13 MB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006684/0.2334, allocations: 3.808 MB / 416.3 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.2347, allocations: 67.75 kB / 416.4 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004738/0.2395, allocations: 2.698 MB / 419.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.2432, allocations: 1.837 MB / 420.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.2444, allocations: 0.5693 MB / 421.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.2484, allocations: 3.585 MB / 425.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.2523, allocations: 3.628 MB / 428.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.2543, allocations: 1.46 MB / 430.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.2568, allocations: 2.009 MB / 432.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005269/0.2574, allocations: 320 kB / 432.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.259, allocations: 1.057 MB / 433.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.2604, allocations: 1.843 MB / 435.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.2621, allocations: 2.128 MB / 437.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.2676, allocations: 6.805 MB / 444.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2676, allocations: 0 / 444.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2676, allocations: 0 / 444.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.61e-05/0.2677, allocations: 0 / 444.3 MB, free: 13.76 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01558/0.2832, allocations: 5.102 MB / 449.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2833, allocations: 8.031 kB / 449.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006567/0.2899, allocations: 1.855 MB / 451.3 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.2941, allocations: 2.276 MB / 453.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2943, allocations: 225.8 kB / 453.8 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005485/0.2948, allocations: 307.8 kB / 454.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.3104, allocations: 10.21 MB / 464.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.361e-05/0.3105, allocations: 39.67 kB / 464.3 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.311, allocations: 147.8 kB / 464.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003291/0.3143, allocations: 1.864 MB / 466.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/0.3318, allocations: 9.119 MB / 475.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04259/0.3744, allocations: 38.16 MB / 0.5016 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.3883, allocations: 3.589 MB / 0.5051 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.3905, allocations: 1.676 MB / 0.5067 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.3911, allocations: 359.6 kB / 0.5071 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3912, allocations: 51.12 kB / 0.5071 GB, free: 0.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.727e-06/0.3912, allocations: 0 / 0.5071 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04428/0.4355, allocations: 12.73 MB / 0.5196 GB, free: 3.773 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.4356, allocations: 149.1 kB / 0.5197 GB, free: 3.598 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/0.4411, allocations: 4.06 MB / 0.5237 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.4413, allocations: 45.7 kB / 0.5237 GB, free: 15.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.4432, allocations: 3.047 MB / 0.5267 GB, free: 12.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.4437, allocations: 0.5442 MB / 0.5272 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.445, allocations: 1.17 MB / 0.5284 GB, free: 10.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.4451, allocations: 305.1 kB / 0.5287 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.4478, allocations: 1.971 MB / 0.5306 GB, free: 8.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/0.4526, allocations: 5.68 MB / 0.5361 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1795/0.6321, allocations: 8.287 MB / 0.5442 GB, free: 118.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.72e-05/0.6322, allocations: 35.34 kB / 0.5443 GB, free: 118.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01068/0.6429, allocations: 8.107 MB / 0.5522 GB, free: 115.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.6429, allocations: 64.5 kB / 0.5522 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.227e-05/0.643, allocations: 132.6 kB / 0.5524 GB, free: 115.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/0.6452, allocations: 0.9068 MB / 0.5532 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.6485, allocations: 1.326 MB / 0.5545 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.6539, allocations: 5.195 MB / 0.5596 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.6572, allocations: 305.8 kB / 0.5599 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.6576, allocations: 373.2 kB / 0.5603 GB, free: 111.4 MB / 462.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.002035/0.6596, allocations: 2.012 MB / 0.5622 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.66, allocations: 334.8 kB / 0.5625 GB, free: 109.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004511/0.6645, allocations: 2.769 MB / 0.5652 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.6645, allocations: 7.984 kB / 0.5653 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6645, allocations: 0 / 0.5653 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.665, allocations: 391.4 kB / 0.5656 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.6654, allocations: 28 kB / 0.5657 GB, free: 107.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.6666, allocations: 67.91 kB / 0.5657 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.6668, allocations: 96.44 kB / 0.5658 GB, free: 106.9 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004806/0.6717, allocations: 3.237 MB / 0.569 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004009/0.6757, allocations: 4.377 MB / 0.5732 GB, free: 99.31 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001051/0.6767, allocations: 1.075 MB / 0.5743 GB, free: 98.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002592/0.6793, allocations: 2.541 MB / 0.5768 GB, free: 95.68 MB / 462.1 MB Notification: Performance of Backend: time 3.1e-07/0.6794, allocations: 3.609 kB / 0.5768 GB, free: 95.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005753/0.6851, allocations: 3.931 MB / 0.5806 GB, free: 91.79 MB / 462.1 MB Notification: Performance of SimCode: time 0.009416/0.6945, allocations: 8.668 MB / 0.5891 GB, free: 83.09 MB / 462.1 MB Notification: Performance of Templates: time 0.0615/0.7561, allocations: 41.88 MB / 0.63 GB, free: 41.42 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches