Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001429/0.001429, allocations: 113.4 kB / 17.73 MB, free: 5.359 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.001561/0.001561, allocations: 184.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 55.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3039/0.427, allocations: 13.76 MB / 388.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.439, allocations: 4.378 MB / 393.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.4433, allocations: 84.47 kB / 393.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007641/0.4511, allocations: 3.737 MB / 397.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008355/0.4595, allocations: 2.161 MB / 399.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.462, allocations: 0.6935 MB / 400 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008888/0.4709, allocations: 4.414 MB / 404.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007104/0.4781, allocations: 4.835 MB / 409.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.4833, allocations: 1.916 MB / 411.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00569/0.489, allocations: 2.604 MB / 413.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001423/0.4904, allocations: 433 kB / 414.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003256/0.4937, allocations: 1.152 MB / 415.3 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002531/0.4962, allocations: 2.338 MB / 417.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004188/0.5004, allocations: 2.75 MB / 420.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.5109, allocations: 8.607 MB / 429 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.511, allocations: 0 / 429 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.511, allocations: 0 / 429 MB, free: 9.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002817/0.5113, allocations: 0 / 429 MB, free: 9.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02189/0.5332, allocations: 6.424 MB / 435.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5332, allocations: 15.97 kB / 435.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007337/0.5406, allocations: 1.983 MB / 437.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006796/0.5474, allocations: 2.816 MB / 440.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.5477, allocations: 299.8 kB / 440.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.5492, allocations: 403.7 kB / 440.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02671/0.576, allocations: 12.88 MB / 453.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.5762, allocations: 51.58 kB / 453.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006639/0.5769, allocations: 191.8 kB / 454 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004365/0.5812, allocations: 2.374 MB / 456.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/0.6071, allocations: 11.74 MB / 468.1 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06776/0.6749, allocations: 48.41 MB / 0.5044 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/0.6923, allocations: 5.56 MB / 0.5099 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/0.6968, allocations: 3.498 MB / 0.5133 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.6975, allocations: 376.5 kB / 0.5137 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.6975, allocations: 59.75 kB / 0.5137 GB, free: 6.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 4.418e-06/0.6976, allocations: 0 / 0.5137 GB, free: 6.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.0733/0.7709, allocations: 27.94 MB / 0.541 GB, free: 10.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.771, allocations: 150.5 kB / 0.5411 GB, free: 9.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006034/0.777, allocations: 4.615 MB / 0.5456 GB, free: 5.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005244/0.7776, allocations: 61.7 kB / 0.5457 GB, free: 5.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.78, allocations: 3.586 MB / 0.5492 GB, free: 1.594 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/0.7811, allocations: 0.9408 MB / 0.5501 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2538/1.035, allocations: 1.508 MB / 0.5516 GB, free: 147.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.867e-05/1.035, allocations: 302 kB / 0.5519 GB, free: 147.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006245/1.041, allocations: 3.457 MB / 0.5553 GB, free: 147.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/1.052, allocations: 7.522 MB / 0.5626 GB, free: 141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02429/1.077, allocations: 11.82 MB / 0.5742 GB, free: 132.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000281/1.077, allocations: 40.59 kB / 0.5742 GB, free: 132.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03786/1.115, allocations: 11.88 MB / 0.5858 GB, free: 128.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003715/1.115, allocations: 74.31 kB / 0.5859 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004593/1.116, allocations: 143.2 kB / 0.586 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/1.121, allocations: 1.132 MB / 0.5871 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01288/1.134, allocations: 1.801 MB / 0.5889 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.146, allocations: 6.353 MB / 0.5951 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008685/1.155, allocations: 421 kB / 0.5955 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/1.156, allocations: 474.2 kB / 0.5959 GB, free: 123.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (875): * Single equations (assignments): 871 * 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.006023/1.162, allocations: 2.434 MB / 0.5983 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.164, allocations: 422.1 kB / 0.5987 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01093/1.175, allocations: 6.483 MB / 0.605 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-05/1.175, allocations: 28 kB / 0.6051 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.175, allocations: 3.281 kB / 0.6051 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/1.175, allocations: 15.95 kB / 0.6051 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/1.195, allocations: 13.49 MB / 0.6183 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.195, allocations: 4.562 kB / 0.6183 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.197, allocations: 0.5775 MB / 0.6188 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/1.2, allocations: 0.9528 MB / 0.6198 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.2, allocations: 87.89 kB / 0.6198 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006001/1.206, allocations: 6.089 MB / 0.6258 GB, free: 94.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.206, allocations: 7.938 kB / 0.6258 GB, free: 94.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/1.218, allocations: 10.93 MB / 0.6365 GB, free: 83.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.221, allocations: 0.9328 MB / 0.6374 GB, free: 82.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00064/1.221, allocations: 44.94 kB / 0.6374 GB, free: 82.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/1.224, allocations: 175.6 kB / 0.6376 GB, free: 82.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/1.224, allocations: 201 kB / 0.6378 GB, free: 82.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/1.224, allocations: 107.9 kB / 0.6379 GB, free: 82.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003437/1.228, allocations: 2.899 MB / 0.6407 GB, free: 79.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.228, allocations: 3.609 kB / 0.6407 GB, free: 79.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00572/1.234, allocations: 1.275 MB / 0.642 GB, free: 77.88 MB / 478.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 (225): * Single equations (assignments): 221 * 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.0005093/1.234, allocations: 185.8 kB / 0.6421 GB, free: 77.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01061/1.245, allocations: 8.151 MB / 0.6501 GB, free: 69.56 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.245, allocations: 4 kB / 0.6501 GB, free: 69.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/1.249, allocations: 3.167 MB / 0.6532 GB, free: 66.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/1.252, allocations: 0.504 MB / 0.6537 GB, free: 65.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.271, allocations: 12.46 MB / 0.6659 GB, free: 53.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003223/1.274, allocations: 3.799 MB / 0.6696 GB, free: 49.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004976/1.279, allocations: 2.389 MB / 0.6719 GB, free: 47.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/1.281, allocations: 431.1 kB / 0.6723 GB, free: 46.74 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/1.281, allocations: 0 / 0.6723 GB, free: 46.74 MB / 478.1 MB Notification: Performance of Templates: time 0.0875/1.368, allocations: 54.54 MB / 0.7256 GB, free: 8.223 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches