Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 104.8 kB / 16.62 MB, free: 6.809 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.001388/0.001388, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.321/1.321, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001205, allocations: 49.98 kB / 300.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09337/0.0946, allocations: 49.45 MB / 349.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.1974/0.2921, allocations: 49.57 MB / 399.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02162/0.3137, allocations: 10.15 MB / 409.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008832/0.3226, allocations: 217.4 kB / 409.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.3272, allocations: 2.591 MB / 412.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.3308, allocations: 1.681 MB / 413.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3318, allocations: 0.534 MB / 414.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.3353, allocations: 3.632 MB / 418 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.3387, allocations: 3.822 MB / 421.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.3402, allocations: 1.48 MB / 423.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.3423, allocations: 2.235 MB / 425.5 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.3427, allocations: 320 kB / 425.8 MB, free: 8.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3441, allocations: 1.069 MB / 426.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.3455, allocations: 1.855 MB / 428.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.347, allocations: 2.152 MB / 430.9 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.352, allocations: 6.624 MB / 437.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.352, allocations: 0 / 437.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3521, allocations: 0 / 437.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.595e-05/0.3521, allocations: 4 kB / 437.5 MB, free: 12.73 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.0148/0.3669, allocations: 5.106 MB / 442.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.367, allocations: 11.97 kB / 442.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.3731, allocations: 1.855 MB / 444.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.3763, allocations: 2.241 MB / 446.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.3765, allocations: 221.8 kB / 446.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004927/0.377, allocations: 303.8 kB / 447.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.3919, allocations: 10.21 MB / 457.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.407e-05/0.392, allocations: 39.59 kB / 457.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.3923, allocations: 143.9 kB / 457.6 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003007/0.3954, allocations: 1.864 MB / 459.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.4111, allocations: 9.12 MB / 468.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/0.45, allocations: 38.3 MB / 0.495 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.4635, allocations: 3.581 MB / 0.4985 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.4655, allocations: 1.672 MB / 0.5002 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/0.4661, allocations: 355.6 kB / 0.5005 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4661, allocations: 51.05 kB / 0.5005 GB, free: 15.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.777e-06/0.4661, allocations: 0 / 0.5005 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04124/0.5074, allocations: 12.75 MB / 0.513 GB, free: 2.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.5075, allocations: 137.2 kB / 0.5131 GB, free: 2.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005367/0.5128, allocations: 4.068 MB / 0.5171 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.513, allocations: 41.7 kB / 0.5171 GB, free: 14.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.5148, allocations: 3.059 MB / 0.5201 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000538/0.5154, allocations: 0.5365 MB / 0.5207 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/0.5168, allocations: 1.177 MB / 0.5218 GB, free: 9.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.5169, allocations: 309.1 kB / 0.5221 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002706/0.5196, allocations: 1.963 MB / 0.524 GB, free: 7.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1795/0.6991, allocations: 5.673 MB / 0.5296 GB, free: 146 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008722/0.7078, allocations: 8.285 MB / 0.5376 GB, free: 140 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.708, allocations: 38 kB / 0.5377 GB, free: 140 MB / 446.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01534/0.7233, allocations: 8.102 MB / 0.5456 GB, free: 137.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/0.7235, allocations: 65.31 kB / 0.5457 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/0.7237, allocations: 132.2 kB / 0.5458 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.7261, allocations: 0.9057 MB / 0.5467 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004088/0.7302, allocations: 1.326 MB / 0.548 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.7358, allocations: 5.203 MB / 0.553 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/0.7399, allocations: 307.3 kB / 0.5533 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/0.7404, allocations: 371.6 kB / 0.5537 GB, free: 134.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (702): * Single equations (assignments): 698 * 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.002446/0.7429, allocations: 2.011 MB / 0.5557 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.7434, allocations: 335.3 kB / 0.556 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004319/0.7477, allocations: 2.764 MB / 0.5587 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.7477, allocations: 15.72 kB / 0.5587 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7478, allocations: 9.75 kB / 0.5587 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.7478, allocations: 15.48 kB / 0.5587 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009978/0.7578, allocations: 7.122 MB / 0.5657 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.7578, allocations: 5.969 kB / 0.5657 GB, free: 129.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009819/0.7588, allocations: 208.6 kB / 0.5659 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.7607, allocations: 0.7148 MB / 0.5666 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.7608, allocations: 36.47 kB / 0.5666 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/0.7655, allocations: 4.755 MB / 0.5712 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7655, allocations: 6.234 kB / 0.5712 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.7716, allocations: 5.088 MB / 0.5762 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009099/0.7725, allocations: 388.7 kB / 0.5766 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/0.7728, allocations: 23.36 kB / 0.5766 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.7739, allocations: 71.91 kB / 0.5767 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.7742, allocations: 88.47 kB / 0.5768 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.7743, allocations: 47.97 kB / 0.5768 GB, free: 117.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002848/0.7771, allocations: 2.545 MB / 0.5793 GB, free: 115.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7771, allocations: 0 / 0.5793 GB, free: 115.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004596/0.7818, allocations: 0.905 MB / 0.5802 GB, free: 114.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003456/0.7821, allocations: 156.9 kB / 0.5803 GB, free: 114.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006426/0.7885, allocations: 5.109 MB / 0.5853 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.7886, allocations: 0 / 0.5853 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.79, allocations: 1.355 MB / 0.5866 GB, free: 107.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.7924, allocations: 444.6 kB / 0.5871 GB, free: 107.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.8043, allocations: 10.32 MB / 0.5971 GB, free: 96.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/0.8066, allocations: 3.108 MB / 0.6002 GB, free: 93.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003709/0.8104, allocations: 1.842 MB / 0.602 GB, free: 91.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005964/0.811, allocations: 251.3 kB / 0.6022 GB, free: 91.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.811, allocations: 0 / 0.6022 GB, free: 91.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05505/0.866, allocations: 35.14 MB / 0.6365 GB, free: 56.74 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches