Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001167, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.19 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01385/0.1162, allocations: 12.98 MB / 371.9 MB, free: 292 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1936/0.3098, allocations: 4.285 MB / 376.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.3126, allocations: 82.84 kB / 376.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007492/0.3201, allocations: 3.71 MB / 380 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.3277, allocations: 1.978 MB / 381.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.3299, allocations: 0.6872 MB / 382.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007031/0.337, allocations: 4.225 MB / 386.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007355/0.3443, allocations: 4.739 MB / 391.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003784/0.3482, allocations: 1.827 MB / 393.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.3521, allocations: 2.454 MB / 395.9 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.3533, allocations: 407.2 kB / 396.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.3558, allocations: 1.126 MB / 397.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.3576, allocations: 2.179 MB / 399.6 MB, free: 464 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.3604, allocations: 2.586 MB / 402.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0077/0.3681, allocations: 8.069 MB / 410.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3681, allocations: 0 / 410.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3681, allocations: 0 / 410.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001969/0.3683, allocations: 4 kB / 410.2 MB, free: 5.965 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01944/0.3878, allocations: 6.169 MB / 416.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.3878, allocations: 12.03 kB / 416.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.3947, allocations: 1.97 MB / 418.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006644/0.4014, allocations: 2.664 MB / 421 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.4016, allocations: 290.8 kB / 421.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.4029, allocations: 390.7 kB / 421.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.4255, allocations: 12.18 MB / 433.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.4257, allocations: 51.58 kB / 433.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.4262, allocations: 187.5 kB / 434.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/0.43, allocations: 2.195 MB / 436.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.4518, allocations: 11.13 MB / 447.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05934/0.5112, allocations: 46.39 MB / 493.8 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/0.5285, allocations: 5.34 MB / 499.2 MB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004554/0.5331, allocations: 3.316 MB / 0.4907 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.5338, allocations: 377.1 kB / 0.4911 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.5338, allocations: 51.88 kB / 0.4911 GB, free: 7.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 4.639e-06/0.5338, allocations: 0 / 0.4911 GB, free: 7.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.0711/0.6049, allocations: 26.75 MB / 0.5172 GB, free: 12.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.6051, allocations: 154.5 kB / 0.5174 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005891/0.611, allocations: 4.492 MB / 0.5218 GB, free: 8.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005714/0.6115, allocations: 65.7 kB / 0.5218 GB, free: 7.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.6137, allocations: 3.422 MB / 0.5252 GB, free: 4.551 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.6147, allocations: 0.8792 MB / 0.526 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.6165, allocations: 1.45 MB / 0.5275 GB, free: 2.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.6166, allocations: 301.1 kB / 0.5277 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1933/0.8099, allocations: 3.276 MB / 0.5309 GB, free: 139.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008027/0.818, allocations: 7.221 MB / 0.538 GB, free: 134.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/0.8318, allocations: 11.31 MB / 0.549 GB, free: 126.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/0.832, allocations: 40.62 kB / 0.5491 GB, free: 126.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01893/0.851, allocations: 11.4 MB / 0.5602 GB, free: 122.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.738e-05/0.8511, allocations: 63.75 kB / 0.5603 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.8512, allocations: 139.6 kB / 0.5604 GB, free: 122.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.8537, allocations: 1.126 MB / 0.5615 GB, free: 122.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005797/0.8595, allocations: 1.722 MB / 0.5632 GB, free: 121.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.8661, allocations: 6.34 MB / 0.5694 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/0.8717, allocations: 406.1 kB / 0.5698 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009952/0.8727, allocations: 456 kB / 0.5702 GB, free: 118.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (834): * Single equations (assignments): 830 * 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.003199/0.8759, allocations: 2.329 MB / 0.5725 GB, free: 116.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006787/0.8766, allocations: 405.4 kB / 0.5729 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/0.8846, allocations: 6.106 MB / 0.5788 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/0.8847, allocations: 27.98 kB / 0.5789 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.8847, allocations: 4 kB / 0.5789 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.8847, allocations: 7.969 kB / 0.5789 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.9035, allocations: 12.82 MB / 0.5914 GB, free: 98.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.9036, allocations: 8.859 kB / 0.5914 GB, free: 98.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/0.906, allocations: 0.5304 MB / 0.5919 GB, free: 97.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.9082, allocations: 0.9491 MB / 0.5928 GB, free: 97.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.9084, allocations: 83.89 kB / 0.5929 GB, free: 96.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005658/0.9141, allocations: 6.059 MB / 0.5988 GB, free: 90.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9141, allocations: 7.938 kB / 0.5988 GB, free: 90.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.9254, allocations: 10.32 MB / 0.6089 GB, free: 80.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/0.9277, allocations: 0.89 MB / 0.6098 GB, free: 79.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006501/0.9283, allocations: 43.98 kB / 0.6098 GB, free: 79.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/0.9304, allocations: 155.7 kB / 0.61 GB, free: 79.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/0.9308, allocations: 185.7 kB / 0.6102 GB, free: 79.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/0.9311, allocations: 102.5 kB / 0.6103 GB, free: 79.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003231/0.9343, allocations: 2.818 MB / 0.613 GB, free: 76.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9343, allocations: 0 / 0.613 GB, free: 76.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005108/0.9394, allocations: 1.189 MB / 0.6142 GB, free: 75.18 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 (203): * Single equations (assignments): 199 * 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.0004514/0.9399, allocations: 192.7 kB / 0.6144 GB, free: 74.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008875/0.9488, allocations: 7.738 MB / 0.6219 GB, free: 67.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.9488, allocations: 2.734 kB / 0.6219 GB, free: 67.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003212/0.952, allocations: 2.969 MB / 0.6248 GB, free: 64.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.9547, allocations: 0.4976 MB / 0.6253 GB, free: 63.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.9713, allocations: 11.78 MB / 0.6368 GB, free: 51.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/0.9744, allocations: 3.612 MB / 0.6403 GB, free: 48.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004477/0.9789, allocations: 2.297 MB / 0.6426 GB, free: 46.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.9802, allocations: 419.1 kB / 0.643 GB, free: 45.62 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.9802, allocations: 0 / 0.643 GB, free: 45.62 MB / 446.1 MB Notification: Performance of Templates: time 0.08059/1.061, allocations: 50.15 MB / 0.692 GB, free: 11.76 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches