Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009444/0.0009444, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002475/0.0002475, allocations: 8 kB / 308.4 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09668, allocations: 51.53 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2099/0.3066, allocations: 44.46 MB / 404.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02428/0.331, allocations: 9.472 MB / 413.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009122/0.3401, allocations: 193.2 kB / 414 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.3416, allocations: 406.4 kB / 414.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.3459, allocations: 1.648 MB / 416.1 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3471, allocations: 0.5273 MB / 416.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005538/0.3526, allocations: 5.213 MB / 421.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006169/0.3588, allocations: 4.923 MB / 426.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.3604, allocations: 1.042 MB / 427.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.3628, allocations: 1.833 MB / 429.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004231/0.3632, allocations: 128 kB / 429.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.3649, allocations: 0.9125 MB / 430.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.3663, allocations: 1.589 MB / 432.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.3681, allocations: 1.849 MB / 434.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004544/0.3726, allocations: 5.109 MB / 439.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3726, allocations: 0 / 439.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3726, allocations: 0 / 439.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001231/0.3728, allocations: 4 kB / 439.2 MB, free: 11.49 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01494/0.3877, allocations: 4.18 MB / 443.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3878, allocations: 8.031 kB / 443.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00697/0.3947, allocations: 1.91 MB / 445.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003987/0.3988, allocations: 2.201 MB / 447.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.399, allocations: 217.7 kB / 447.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007943/0.3998, allocations: 299.8 kB / 448 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.4169, allocations: 10.03 MB / 458.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.4171, allocations: 43.59 kB / 458.1 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004268/0.4175, allocations: 147.9 kB / 458.2 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003104/0.4206, allocations: 1.809 MB / 460 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/0.4384, allocations: 8.978 MB / 469 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04254/0.481, allocations: 37.86 MB / 0.495 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.4937, allocations: 3.595 MB / 0.4985 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.4962, allocations: 1.687 MB / 0.5002 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005761/0.4968, allocations: 355.6 kB / 0.5005 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4968, allocations: 43.12 kB / 0.5005 GB, free: 16 kB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.667e-06/0.4968, allocations: 3.938 kB / 0.5005 GB, free: 12 kB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.04261/0.5394, allocations: 12.71 MB / 0.513 GB, free: 3.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.233e-05/0.5396, allocations: 141.2 kB / 0.5131 GB, free: 3.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.545, allocations: 4.04 MB / 0.517 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.5454, allocations: 45.7 kB / 0.5171 GB, free: 14.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.5474, allocations: 3.005 MB / 0.52 GB, free: 11.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000649/0.548, allocations: 0.5442 MB / 0.5205 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/0.5486, allocations: 490.4 kB / 0.521 GB, free: 10.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.5487, allocations: 313.1 kB / 0.5213 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/0.5515, allocations: 1.963 MB / 0.5232 GB, free: 8.535 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/0.5565, allocations: 5.662 MB / 0.5288 GB, free: 1.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2133/0.7698, allocations: 8.257 MB / 0.5368 GB, free: 135.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/0.77, allocations: 41.55 kB / 0.5369 GB, free: 135.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01748/0.7875, allocations: 8.095 MB / 0.5448 GB, free: 132.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.7877, allocations: 63.86 kB / 0.5448 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/0.7879, allocations: 131.5 kB / 0.545 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.7908, allocations: 0.9079 MB / 0.5458 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.7951, allocations: 1.326 MB / 0.5471 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/0.8014, allocations: 4.856 MB / 0.5519 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004449/0.8059, allocations: 316.4 kB / 0.5522 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000772/0.8067, allocations: 375.1 kB / 0.5525 GB, free: 129.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (699): * Single equations (assignments): 695 * 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.003067/0.8098, allocations: 1.978 MB / 0.5545 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.8104, allocations: 340.6 kB / 0.5548 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.8151, allocations: 2.778 MB / 0.5575 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.8151, allocations: 12.42 kB / 0.5575 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8151, allocations: 3.938 kB / 0.5575 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.8151, allocations: 11.36 kB / 0.5575 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.8257, allocations: 7.077 MB / 0.5644 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.8258, allocations: 6.094 kB / 0.5644 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/0.8267, allocations: 219.2 kB / 0.5647 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.8287, allocations: 0.7152 MB / 0.5654 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.8288, allocations: 35.97 kB / 0.5654 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.8334, allocations: 4.419 MB / 0.5697 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8335, allocations: 64 / 0.5697 GB, free: 120.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006309/0.8398, allocations: 5.106 MB / 0.5747 GB, free: 115.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/0.8406, allocations: 400.5 kB / 0.5751 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003113/0.841, allocations: 23.98 kB / 0.5751 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.8421, allocations: 75.86 kB / 0.5752 GB, free: 114.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.8423, allocations: 92.45 kB / 0.5753 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/0.8424, allocations: 49.38 kB / 0.5753 GB, free: 114.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003013/0.8454, allocations: 2.529 MB / 0.5778 GB, free: 112.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8455, allocations: 0 / 0.5778 GB, free: 112.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004342/0.8498, allocations: 0.8807 MB / 0.5786 GB, free: 111.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.0003895/0.8502, allocations: 153.3 kB / 0.5788 GB, free: 111.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.8562, allocations: 4.669 MB / 0.5833 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.8563, allocations: 1.969 kB / 0.5833 GB, free: 106.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.8577, allocations: 1.357 MB / 0.5847 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.8608, allocations: 406.9 kB / 0.5851 GB, free: 104.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.8737, allocations: 10.71 MB / 0.5955 GB, free: 94.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.8762, allocations: 3.065 MB / 0.5985 GB, free: 90.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008896/0.8771, allocations: 295.3 kB / 0.5988 GB, free: 90.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8771, allocations: 3.938 kB / 0.5988 GB, free: 90.65 MB / 446.1 MB Notification: Performance of Templates: time 0.07664/0.9537, allocations: 70.02 MB / 0.6672 GB, free: 20.64 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches