Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001436/0.001436, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001534/0.001534, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.464/1.464, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 49.7 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.0999, allocations: 49.45 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01461/0.1146, allocations: 13.1 MB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008965/0.1236, allocations: 4.29 MB / 368.9 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.1258, allocations: 83.75 kB / 369 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1907/0.3165, allocations: 3.71 MB / 372.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006298/0.3229, allocations: 2.026 MB / 374.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3248, allocations: 0.6907 MB / 375.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007605/0.3324, allocations: 4.217 MB / 379.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006718/0.3391, allocations: 4.763 MB / 384.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.3425, allocations: 1.843 MB / 386.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.3462, allocations: 2.477 MB / 388.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000861/0.347, allocations: 413.1 kB / 389.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.3493, allocations: 1.147 MB / 390.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.351, allocations: 2.232 MB / 392.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.3531, allocations: 2.635 MB / 395.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.36, allocations: 8.217 MB / 403.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.36, allocations: 0 / 403.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.36, allocations: 3.984 kB / 403.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.3602, allocations: 0 / 403.3 MB, free: 12.99 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01933/0.3796, allocations: 6.211 MB / 409.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3796, allocations: 11.97 kB / 409.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/0.3863, allocations: 1.95 MB / 411.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006972/0.3933, allocations: 2.707 MB / 414.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002668/0.3936, allocations: 299.8 kB / 414.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.3952, allocations: 395 kB / 414.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/0.4181, allocations: 12.37 MB / 427.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.4183, allocations: 51.53 kB / 427.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005054/0.4188, allocations: 185.8 kB / 427.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003953/0.4228, allocations: 2.246 MB / 429.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02195/0.4448, allocations: 11.3 MB / 441 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05835/0.5031, allocations: 46.79 MB / 487.8 MB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01755/0.5207, allocations: 5.337 MB / 493.2 MB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/0.5249, allocations: 3.319 MB / 496.5 MB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.5255, allocations: 381.9 kB / 496.9 MB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.5256, allocations: 51.81 kB / 496.9 MB, free: 13.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 4.809e-06/0.5256, allocations: 0 / 496.9 MB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.07145/0.597, allocations: 26.81 MB / 0.5114 GB, free: 2.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.5971, allocations: 150.5 kB / 0.5116 GB, free: 2.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/0.6029, allocations: 4.512 MB / 0.516 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000525/0.6034, allocations: 61.7 kB / 0.5161 GB, free: 14.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.6056, allocations: 3.46 MB / 0.5194 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.6066, allocations: 0.8782 MB / 0.5203 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/0.6085, allocations: 1.456 MB / 0.5217 GB, free: 8.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.6086, allocations: 305.1 kB / 0.522 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004431/0.613, allocations: 3.281 MB / 0.5252 GB, free: 4.691 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1724/0.7854, allocations: 7.244 MB / 0.5323 GB, free: 139.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/0.7976, allocations: 11.33 MB / 0.5433 GB, free: 132.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001718/0.7978, allocations: 39.81 kB / 0.5434 GB, free: 132.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01932/0.8172, allocations: 11.43 MB / 0.5545 GB, free: 128.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.8173, allocations: 66.53 kB / 0.5546 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/0.8175, allocations: 141.2 kB / 0.5547 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.8201, allocations: 1.127 MB / 0.5558 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005838/0.8259, allocations: 1.727 MB / 0.5575 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.8324, allocations: 6.341 MB / 0.5637 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005756/0.8382, allocations: 403.6 kB / 0.5641 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/0.8393, allocations: 456.6 kB / 0.5645 GB, free: 125 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.003703/0.8431, allocations: 2.35 MB / 0.5668 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/0.8438, allocations: 401.5 kB / 0.5672 GB, free: 124 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008495/0.8523, allocations: 6.113 MB / 0.5732 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.8524, allocations: 28 kB / 0.5732 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.8524, allocations: 5.438 kB / 0.5732 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.8525, allocations: 13.31 kB / 0.5732 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/0.8715, allocations: 12.88 MB / 0.5858 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-05/0.8716, allocations: 8.062 kB / 0.5858 GB, free: 108.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/0.8742, allocations: 0.542 MB / 0.5863 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.8763, allocations: 0.9478 MB / 0.5873 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/0.8767, allocations: 87.77 kB / 0.5874 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005686/0.8823, allocations: 6.055 MB / 0.5933 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8824, allocations: 4 kB / 0.5933 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/0.8937, allocations: 10.33 MB / 0.6034 GB, free: 90.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/0.8961, allocations: 0.8822 MB / 0.6042 GB, free: 89.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006451/0.8968, allocations: 36 kB / 0.6043 GB, free: 89.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/0.8988, allocations: 163.7 kB / 0.6044 GB, free: 89.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.8992, allocations: 181.6 kB / 0.6046 GB, free: 88.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/0.8995, allocations: 111.7 kB / 0.6047 GB, free: 88.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003178/0.9027, allocations: 2.822 MB / 0.6074 GB, free: 85.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9027, allocations: 0 / 0.6074 GB, free: 85.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004936/0.9076, allocations: 1.214 MB / 0.6086 GB, free: 84.78 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.000458/0.9081, allocations: 193.7 kB / 0.6088 GB, free: 84.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009128/0.9172, allocations: 7.746 MB / 0.6164 GB, free: 76.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9173, allocations: 4 kB / 0.6164 GB, free: 76.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.9206, allocations: 2.971 MB / 0.6193 GB, free: 73.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/0.924, allocations: 0.5007 MB / 0.6198 GB, free: 73.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/0.9409, allocations: 11.88 MB / 0.6314 GB, free: 61.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/0.9439, allocations: 3.667 MB / 0.635 GB, free: 57.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004395/0.9483, allocations: 2.293 MB / 0.6372 GB, free: 55.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.9495, allocations: 423.1 kB / 0.6376 GB, free: 55.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.9495, allocations: 0 / 0.6376 GB, free: 55.08 MB / 446.1 MB Notification: Performance of Templates: time 0.07794/1.027, allocations: 50.45 MB / 0.6869 GB, free: 4.953 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches