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.0008562/0.000856, allocations: 93.33 kB / 17.3 MB, free: 6.391 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.001055/0.001055, allocations: 172.6 kB / 18.2 MB, free: 5.551 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.554/1.554, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004767/0.0004768, allocations: 16 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09941, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3097/0.4091, allocations: 64.58 MB / 393.5 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03496/0.4441, allocations: 12.99 MB / 406.5 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01619/0.4604, allocations: 282.2 kB / 406.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.4626, allocations: 0.5047 MB / 407.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.4702, allocations: 1.979 MB / 409.3 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.4723, allocations: 0.6204 MB / 409.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00922/0.4816, allocations: 6.496 MB / 416.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008694/0.4903, allocations: 6.563 MB / 423 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.4934, allocations: 1.363 MB / 424.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003995/0.4974, allocations: 2.337 MB / 426.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000754/0.4982, allocations: 172 kB / 426.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.5006, allocations: 0.9554 MB / 427.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.5027, allocations: 2.037 MB / 429.8 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.5052, allocations: 2.424 MB / 432.3 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007789/0.513, allocations: 7.976 MB / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5131, allocations: 0 / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5131, allocations: 0 / 440.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002312/0.5133, allocations: 0 / 440.2 MB, free: 14.08 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.01761/0.5309, allocations: 5.298 MB / 445.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.531, allocations: 8.031 kB / 445.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007653/0.5386, allocations: 2.033 MB / 447.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.5441, allocations: 2.769 MB / 450.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.5444, allocations: 306.4 kB / 450.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.5456, allocations: 407.3 kB / 451 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.57, allocations: 12.89 MB / 463.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.5702, allocations: 47.53 kB / 464 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005802/0.5708, allocations: 189.6 kB / 464.2 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004496/0.5753, allocations: 2.38 MB / 466.5 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/0.5996, allocations: 11.76 MB / 478.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06992/0.6695, allocations: 48.62 MB / 0.5146 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01809/0.6877, allocations: 5.584 MB / 0.52 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004845/0.6925, allocations: 3.496 MB / 0.5234 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000706/0.6933, allocations: 375 kB / 0.5238 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.6933, allocations: 51.88 kB / 0.5239 GB, free: 12.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 5.61e-06/0.6934, allocations: 4 kB / 0.5239 GB, free: 12.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.2988/0.9922, allocations: 27.97 MB / 0.5512 GB, free: 159.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.9923, allocations: 164.9 kB / 0.5513 GB, free: 159.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005884/0.9981, allocations: 4.607 MB / 0.5558 GB, free: 157.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006102/0.9988, allocations: 60.77 kB / 0.5559 GB, free: 157.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001841/1.001, allocations: 3.583 MB / 0.5594 GB, free: 154.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.002, allocations: 0.9492 MB / 0.5603 GB, free: 154 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006638/1.002, allocations: 0.5868 MB / 0.5609 GB, free: 153.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/1.002, allocations: 307.5 kB / 0.5612 GB, free: 153.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/1.006, allocations: 3.465 MB / 0.5646 GB, free: 152.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/1.012, allocations: 7.526 MB / 0.5719 GB, free: 145.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/1.023, allocations: 11.84 MB / 0.5835 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001028/1.023, allocations: 44 kB / 0.5835 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02535/1.048, allocations: 11.91 MB / 0.5951 GB, free: 120.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.049, allocations: 68.2 kB / 0.5952 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001812/1.049, allocations: 148 kB / 0.5953 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/1.052, allocations: 1.129 MB / 0.5964 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006987/1.059, allocations: 1.806 MB / 0.5982 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008889/1.068, allocations: 6.018 MB / 0.6041 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009381/1.078, allocations: 424.4 kB / 0.6045 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.08, allocations: 469 kB / 0.6049 GB, free: 110.6 MB / 446.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.00733/1.087, allocations: 2.447 MB / 0.6073 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001981/1.089, allocations: 414.6 kB / 0.6077 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.102, allocations: 6.505 MB / 0.6141 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/1.102, allocations: 24.7 kB / 0.6141 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/1.103, allocations: 5 kB / 0.6141 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-05/1.103, allocations: 19.95 kB / 0.6141 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/1.128, allocations: 13.63 MB / 0.6274 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/1.128, allocations: 4 kB / 0.6274 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.131, allocations: 0.5882 MB / 0.628 GB, free: 86.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/1.133, allocations: 0.9443 MB / 0.6289 GB, free: 85.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/1.133, allocations: 92.59 kB / 0.629 GB, free: 85.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005953/1.139, allocations: 5.734 MB / 0.6346 GB, free: 79.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.139, allocations: 4 kB / 0.6346 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.153, allocations: 10.94 MB / 0.6453 GB, free: 68.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002467/1.155, allocations: 0.9445 MB / 0.6462 GB, free: 67.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007939/1.156, allocations: 44 kB / 0.6463 GB, free: 67.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.159, allocations: 171.8 kB / 0.6464 GB, free: 67.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/1.159, allocations: 197.6 kB / 0.6466 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/1.159, allocations: 105.2 kB / 0.6467 GB, free: 67.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003598/1.163, allocations: 2.899 MB / 0.6496 GB, free: 64.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.163, allocations: 0 / 0.6496 GB, free: 64.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007648/1.171, allocations: 1.272 MB / 0.6508 GB, free: 63.28 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 (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.0008226/1.171, allocations: 183.8 kB / 0.651 GB, free: 63.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01066/1.182, allocations: 8.135 MB / 0.6589 GB, free: 54.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.182, allocations: 8.062 kB / 0.6589 GB, free: 54.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003927/1.186, allocations: 3.172 MB / 0.662 GB, free: 51.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005761/1.192, allocations: 0.4909 MB / 0.6625 GB, free: 51.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/1.214, allocations: 15.17 MB / 0.6773 GB, free: 36.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004872/1.219, allocations: 3.807 MB / 0.681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006503/1.226, allocations: 2.389 MB / 0.6834 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/1.228, allocations: 435 kB / 0.6838 GB, free: 29.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/1.228, allocations: 0 / 0.6838 GB, free: 29.4 MB / 446.1 MB Notification: Performance of Templates: time 0.3181/1.546, allocations: 55.14 MB / 0.7376 GB, free: 130.2 MB / 446.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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches