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.001256/0.001255, allocations: 112.7 kB / 17.06 MB, free: 5.969 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.00113/0.00113, allocations: 200 kB / 18.01 MB, free: 5.051 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009779/0.0009779, allocations: 55.86 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2926, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01381/0.3064, allocations: 13.11 MB / 413.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008635/0.3151, allocations: 4.271 MB / 418.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.3176, allocations: 91.69 kB / 418.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006821/0.3245, allocations: 3.722 MB / 421.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.3296, allocations: 2.023 MB / 423.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.3313, allocations: 0.6824 MB / 424.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005738/0.3371, allocations: 4.235 MB / 428.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00635/0.3434, allocations: 4.761 MB / 433.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.3466, allocations: 1.846 MB / 435.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.3502, allocations: 2.473 MB / 437.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.3515, allocations: 415.9 kB / 438.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.3543, allocations: 1.139 MB / 439.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.357, allocations: 2.225 MB / 441.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003793/0.3608, allocations: 2.637 MB / 444.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009055/0.3698, allocations: 8.248 MB / 452.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3699, allocations: 7.938 kB / 452.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3699, allocations: 0 / 452.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001774/0.3701, allocations: 0 / 452.6 MB, free: 4.758 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.01834/0.3884, allocations: 6.359 MB / 459 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3884, allocations: 8.031 kB / 459 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/0.3949, allocations: 1.986 MB / 461 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/0.3995, allocations: 2.734 MB / 463.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.3997, allocations: 287.5 kB / 464 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007254/0.4004, allocations: 387.8 kB / 464.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02006/0.4205, allocations: 12.37 MB / 476.7 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.4206, allocations: 47.58 kB / 476.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004604/0.4211, allocations: 187.8 kB / 476.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003792/0.4249, allocations: 2.256 MB / 479.2 MB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0223/0.4472, allocations: 11.29 MB / 490.5 MB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0593/0.5065, allocations: 46.88 MB / 0.5248 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.5241, allocations: 5.344 MB / 0.53 GB, free: 8.395 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.5286, allocations: 3.303 MB / 0.5332 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/0.5293, allocations: 384.4 kB / 0.5336 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.5294, allocations: 55.86 kB / 0.5336 GB, free: 4.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 5.43e-06/0.5294, allocations: 0 / 0.5336 GB, free: 4.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.2756/0.8049, allocations: 27.08 MB / 0.5601 GB, free: 121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.805, allocations: 152.5 kB / 0.5602 GB, free: 120.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004894/0.8099, allocations: 4.511 MB / 0.5646 GB, free: 116.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005988/0.8105, allocations: 65.64 kB / 0.5647 GB, free: 116.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.8122, allocations: 3.597 MB / 0.5682 GB, free: 113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007616/0.813, allocations: 0.9255 MB / 0.5691 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/0.8145, allocations: 1.459 MB / 0.5706 GB, free: 110.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.8145, allocations: 305.1 kB / 0.5708 GB, free: 110.4 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/0.818, allocations: 3.285 MB / 0.574 GB, free: 107.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004742/0.8228, allocations: 7.238 MB / 0.5811 GB, free: 97.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009257/0.832, allocations: 11.33 MB / 0.5922 GB, free: 84.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.469e-05/0.8321, allocations: 40 kB / 0.5922 GB, free: 84.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01591/0.8481, allocations: 11.46 MB / 0.6034 GB, free: 73.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.709e-05/0.8482, allocations: 67.12 kB / 0.6035 GB, free: 73.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.8483, allocations: 140.8 kB / 0.6036 GB, free: 72.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/0.8508, allocations: 1.125 MB / 0.6047 GB, free: 71.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/0.8564, allocations: 1.731 MB / 0.6064 GB, free: 70.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.8629, allocations: 6.347 MB / 0.6126 GB, free: 63.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005712/0.8687, allocations: 407.4 kB / 0.613 GB, free: 63.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/0.8699, allocations: 455.8 kB / 0.6134 GB, free: 62.75 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.003954/0.8738, allocations: 2.355 MB / 0.6157 GB, free: 60.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008629/0.8747, allocations: 417.2 kB / 0.6161 GB, free: 59.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/0.8833, allocations: 6.113 MB / 0.6221 GB, free: 53.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.8833, allocations: 24 kB / 0.6221 GB, free: 53.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.8833, allocations: 4.375 kB / 0.6221 GB, free: 53.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/0.8834, allocations: 15.89 kB / 0.6221 GB, free: 53.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/0.9039, allocations: 12.8 MB / 0.6346 GB, free: 40.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/0.9039, allocations: 4.312 kB / 0.6346 GB, free: 40.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/0.9065, allocations: 0.5381 MB / 0.6352 GB, free: 40.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.9089, allocations: 0.9527 MB / 0.6361 GB, free: 39.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003126/0.9092, allocations: 83.89 kB / 0.6362 GB, free: 39.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006217/0.9154, allocations: 6.087 MB / 0.6421 GB, free: 33.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9154, allocations: 7.938 kB / 0.6421 GB, free: 33.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.9279, allocations: 10.36 MB / 0.6522 GB, free: 22.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/0.9297, allocations: 0.9081 MB / 0.6531 GB, free: 21.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009351/0.9307, allocations: 40 kB / 0.6532 GB, free: 21.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/0.9332, allocations: 159.8 kB / 0.6533 GB, free: 21.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/0.9337, allocations: 185.5 kB / 0.6535 GB, free: 21.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/0.9339, allocations: 111.9 kB / 0.6536 GB, free: 21.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004309/0.9383, allocations: 2.822 MB / 0.6564 GB, free: 18.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9383, allocations: 0 / 0.6564 GB, free: 18.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005548/0.9438, allocations: 1.212 MB / 0.6575 GB, free: 17.23 MB / 462.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.0005446/0.9444, allocations: 193.5 kB / 0.6577 GB, free: 17.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00972/0.9541, allocations: 7.741 MB / 0.6653 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9541, allocations: 192 / 0.6653 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003608/0.9578, allocations: 2.976 MB / 0.6682 GB, free: 6.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00369/0.9615, allocations: 0.506 MB / 0.6687 GB, free: 5.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.9814, allocations: 12.04 MB / 0.6804 GB, free: 9.715 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005532/0.987, allocations: 3.668 MB / 0.684 GB, free: 6.016 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007001/0.994, allocations: 2.289 MB / 0.6863 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/0.9962, allocations: 419.1 kB / 0.6867 GB, free: 3.309 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.9962, allocations: 3.938 kB / 0.6867 GB, free: 3.305 MB / 478.1 MB Notification: Performance of Templates: time 0.3264/1.323, allocations: 52.8 MB / 0.7382 GB, free: 176.2 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/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