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.001042/0.001042, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001064/0.001064, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009399/0.00094, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2142, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01292/0.2271, allocations: 13.11 MB / 414.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007561/0.2347, allocations: 4.271 MB / 418.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.2359, allocations: 87.69 kB / 418.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006114/0.2421, allocations: 3.722 MB / 422.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.2463, allocations: 2.081 MB / 424.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.2476, allocations: 0.6785 MB / 425.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.2522, allocations: 4.235 MB / 429.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005258/0.2575, allocations: 4.769 MB / 434.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.2597, allocations: 1.846 MB / 436.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.2627, allocations: 2.477 MB / 438.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006469/0.2634, allocations: 420 kB / 439.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.2653, allocations: 1.139 MB / 440.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.2671, allocations: 2.244 MB / 442.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002266/0.2694, allocations: 2.633 MB / 445.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00717/0.2766, allocations: 8.219 MB / 453.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2766, allocations: 0 / 453.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2766, allocations: 0 / 453.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000157/0.2768, allocations: 4 kB / 453.3 MB, free: 4.723 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01826/0.295, allocations: 6.223 MB / 459.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2951, allocations: 8.031 kB / 459.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/0.3019, allocations: 1.956 MB / 461.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005366/0.3073, allocations: 2.698 MB / 464.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.3075, allocations: 295.5 kB / 464.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007161/0.3082, allocations: 399.6 kB / 464.9 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.329, allocations: 12.36 MB / 477.3 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001502/0.3292, allocations: 55.52 kB / 477.3 MB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007173/0.33, allocations: 183.8 kB / 477.5 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004268/0.3342, allocations: 2.253 MB / 479.7 MB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02216/0.3564, allocations: 11.29 MB / 491 MB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05728/0.4137, allocations: 46.8 MB / 0.5252 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/0.4319, allocations: 5.347 MB / 0.5305 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004105/0.4361, allocations: 3.311 MB / 0.5337 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.4367, allocations: 376.4 kB / 0.534 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.4368, allocations: 55.81 kB / 0.5341 GB, free: 4.828 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 4.709e-06/0.4368, allocations: 0 / 0.5341 GB, free: 4.828 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.2401/0.6769, allocations: 26.81 MB / 0.5603 GB, free: 121.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.6769, allocations: 154.4 kB / 0.5604 GB, free: 121.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/0.6811, allocations: 4.51 MB / 0.5648 GB, free: 116.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.6813, allocations: 61.7 kB / 0.5649 GB, free: 116.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.6825, allocations: 3.459 MB / 0.5683 GB, free: 113.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.683, allocations: 0.8768 MB / 0.5691 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.6844, allocations: 1.45 MB / 0.5705 GB, free: 110.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.6845, allocations: 305.1 kB / 0.5708 GB, free: 110.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/0.6879, allocations: 3.289 MB / 0.574 GB, free: 107.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/0.6926, allocations: 7.236 MB / 0.5811 GB, free: 98.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008942/0.7015, allocations: 11.34 MB / 0.5922 GB, free: 84.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-05/0.7016, allocations: 40 kB / 0.5922 GB, free: 84.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01444/0.716, allocations: 11.44 MB / 0.6034 GB, free: 73.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.7161, allocations: 64 kB / 0.6034 GB, free: 73.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.009e-05/0.7162, allocations: 140 kB / 0.6036 GB, free: 73.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/0.7187, allocations: 1.121 MB / 0.6047 GB, free: 72.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005141/0.7238, allocations: 1.729 MB / 0.6064 GB, free: 70.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.7302, allocations: 6.351 MB / 0.6126 GB, free: 63.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/0.7349, allocations: 403.5 kB / 0.613 GB, free: 63.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/0.7354, allocations: 455.8 kB / 0.6134 GB, free: 62.96 MB / 462.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.002682/0.7381, allocations: 2.356 MB / 0.6157 GB, free: 60.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005903/0.7387, allocations: 402.8 kB / 0.6161 GB, free: 60.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008504/0.7472, allocations: 6.105 MB / 0.622 GB, free: 54.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.7473, allocations: 11.91 kB / 0.622 GB, free: 54.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7473, allocations: 0 / 0.622 GB, free: 54.06 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001782/0.7491, allocations: 0.886 MB / 0.6229 GB, free: 53.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/0.7496, allocations: 39.94 kB / 0.623 GB, free: 53.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/0.7517, allocations: 163 kB / 0.6231 GB, free: 52.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/0.7522, allocations: 181.7 kB / 0.6233 GB, free: 52.78 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009617/0.7618, allocations: 6.551 MB / 0.6297 GB, free: 46.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009066/0.7709, allocations: 9.37 MB / 0.6388 GB, free: 36.85 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002369/0.7733, allocations: 2.536 MB / 0.6413 GB, free: 34.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003068/0.7763, allocations: 2.826 MB / 0.6441 GB, free: 31.49 MB / 462.1 MB Notification: Performance of Backend: time 3.7e-07/0.7763, allocations: 0 / 0.6441 GB, free: 31.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008341/0.7847, allocations: 5.66 MB / 0.6496 GB, free: 25.86 MB / 462.1 MB Notification: Performance of SimCode: time 0.01238/0.7971, allocations: 10.59 MB / 0.6599 GB, free: 15.25 MB / 462.1 MB Notification: Performance of Templates: time 0.1051/0.9022, allocations: 65.84 MB / 0.7242 GB, free: 13.66 MB / 0.5137 GB 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 -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