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.001184/0.001183, allocations: 104.9 kB / 17.72 MB, free: 5.242 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.00123/0.00123, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.51/1.51, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001198/0.001198, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09047/0.09167, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2264/0.3181, allocations: 13.76 MB / 388.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.3293, allocations: 4.367 MB / 393.3 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004339/0.3337, allocations: 80.72 kB / 393.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007397/0.3412, allocations: 3.749 MB / 397.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006648/0.3478, allocations: 2.103 MB / 399.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.3498, allocations: 0.691 MB / 399.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006417/0.3562, allocations: 4.404 MB / 404.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005579/0.3618, allocations: 4.844 MB / 409.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.3649, allocations: 1.91 MB / 411.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/0.3683, allocations: 2.599 MB / 413.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008303/0.3691, allocations: 431.7 kB / 414.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.3715, allocations: 1.156 MB / 415.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.3735, allocations: 2.338 MB / 417.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.376, allocations: 2.754 MB / 420.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007919/0.3839, allocations: 8.603 MB / 428.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3839, allocations: 0 / 428.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3839, allocations: 4 kB / 428.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001186/0.3841, allocations: 0 / 428.9 MB, free: 9.613 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.01903/0.4031, allocations: 6.432 MB / 435.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4032, allocations: 8.031 kB / 435.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007156/0.4103, allocations: 1.986 MB / 437.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004972/0.4153, allocations: 2.808 MB / 440.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.4155, allocations: 307.8 kB / 440.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007697/0.4163, allocations: 403.7 kB / 440.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/0.4407, allocations: 12.87 MB / 453.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.4409, allocations: 51.47 kB / 453.8 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005568/0.4414, allocations: 195.8 kB / 454 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004636/0.4461, allocations: 2.37 MB / 456.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02427/0.4704, allocations: 11.74 MB / 468.1 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06345/0.5338, allocations: 48.41 MB / 0.5044 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/0.5524, allocations: 5.572 MB / 0.5098 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00527/0.5577, allocations: 3.483 MB / 0.5132 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.5585, allocations: 380.4 kB / 0.5136 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.5585, allocations: 59.81 kB / 0.5137 GB, free: 6.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 6.342e-06/0.5585, allocations: 4 kB / 0.5137 GB, free: 6.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.07774/0.6363, allocations: 27.93 MB / 0.5409 GB, free: 10.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.6364, allocations: 158.5 kB / 0.5411 GB, free: 9.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006713/0.6432, allocations: 4.603 MB / 0.5456 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007126/0.6439, allocations: 69.62 kB / 0.5456 GB, free: 5.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.6466, allocations: 3.582 MB / 0.5491 GB, free: 1.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/0.6481, allocations: 0.9368 MB / 0.5501 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2182/0.8663, allocations: 1.509 MB / 0.5515 GB, free: 147.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.8663, allocations: 302.2 kB / 0.5518 GB, free: 147.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006197/0.8725, allocations: 3.454 MB / 0.5552 GB, free: 147.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008036/0.8806, allocations: 7.521 MB / 0.5625 GB, free: 140.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/0.8944, allocations: 11.83 MB / 0.5741 GB, free: 132.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002015/0.8947, allocations: 42.14 kB / 0.5741 GB, free: 132.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02196/0.9166, allocations: 11.89 MB / 0.5857 GB, free: 128.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/0.9168, allocations: 72.44 kB / 0.5858 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/0.9169, allocations: 144.5 kB / 0.5859 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.9195, allocations: 1.135 MB / 0.5871 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006096/0.9256, allocations: 1.796 MB / 0.5888 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006403/0.932, allocations: 6.353 MB / 0.595 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.9378, allocations: 425.4 kB / 0.5954 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007429/0.9385, allocations: 468.1 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.00326/0.9418, allocations: 2.438 MB / 0.5982 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/0.9425, allocations: 417.2 kB / 0.5986 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009077/0.9516, allocations: 6.487 MB / 0.605 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/0.9516, allocations: 31.83 kB / 0.605 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9516, allocations: 4 kB / 0.605 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.9517, allocations: 15.23 kB / 0.605 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/0.9696, allocations: 13.48 MB / 0.6182 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.9697, allocations: 0 / 0.6182 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/0.9726, allocations: 0.5775 MB / 0.6188 GB, free: 101.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/0.9749, allocations: 0.9498 MB / 0.6197 GB, free: 100.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/0.9752, allocations: 91.89 kB / 0.6198 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/0.9814, allocations: 6.089 MB / 0.6257 GB, free: 94.44 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.9814, allocations: 7.938 kB / 0.6257 GB, free: 94.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.9941, allocations: 10.94 MB / 0.6364 GB, free: 83.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/0.9963, allocations: 0.9314 MB / 0.6373 GB, free: 82.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006924/0.997, allocations: 44 kB / 0.6374 GB, free: 82.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.9993, allocations: 167.8 kB / 0.6375 GB, free: 82.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005227/0.9999, allocations: 201.6 kB / 0.6377 GB, free: 82.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1, allocations: 107.9 kB / 0.6378 GB, free: 82.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003699/1.004, allocations: 2.891 MB / 0.6406 GB, free: 79.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.004, allocations: 0 / 0.6406 GB, free: 79.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005771/1.01, allocations: 1.277 MB / 0.6419 GB, free: 77.94 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.0004968/1.01, allocations: 191 kB / 0.6421 GB, free: 77.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01055/1.021, allocations: 8.163 MB / 0.65 GB, free: 69.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.021, allocations: 0 / 0.65 GB, free: 69.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003801/1.025, allocations: 3.16 MB / 0.6531 GB, free: 66.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002969/1.028, allocations: 0.5118 MB / 0.6536 GB, free: 65.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.046, allocations: 12.45 MB / 0.6658 GB, free: 53.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/1.05, allocations: 3.81 MB / 0.6695 GB, free: 49.61 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005034/1.055, allocations: 2.389 MB / 0.6718 GB, free: 47.21 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.056, allocations: 431 kB / 0.6723 GB, free: 46.79 MB / 478.1 MB Notification: Performance of SimCode: time 1.663e-06/1.056, allocations: 0 / 0.6723 GB, free: 46.79 MB / 478.1 MB Notification: Performance of Templates: time 0.09388/1.15, allocations: 54.54 MB / 0.7255 GB, free: 8.27 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