Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 226.5 MB / 245.3 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007881/0.000788, allocations: 88.81 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002486, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2479, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.4058, allocations: 99.98 MB / 0.4967 GB, free: 7.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/0.4063, allocations: 95.95 kB / 0.4968 GB, free: 7.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3731/0.7794, allocations: 81.02 MB / 0.5759 GB, free: 35.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.7794, allocations: 4 kB / 0.5759 GB, free: 35.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.7797, allocations: 80 kB / 0.576 GB, free: 35.25 MB / 378.7 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.01609/0.7958, allocations: 4.475 MB / 0.5804 GB, free: 30.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7959, allocations: 12.03 kB / 0.5804 GB, free: 30.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009245/0.8051, allocations: 2.175 MB / 0.5825 GB, free: 28.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006459/0.8116, allocations: 3.104 MB / 0.5856 GB, free: 25.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.8119, allocations: 305.1 kB / 0.5858 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.8138, allocations: 399.8 kB / 0.5862 GB, free: 24.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.8354, allocations: 10.31 MB / 0.5963 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004167/0.8359, allocations: 59.47 kB / 0.5964 GB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/0.8383, allocations: 195.9 kB / 0.5965 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002026/0.8403, allocations: 0.9393 MB / 0.5975 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.8604, allocations: 8.532 MB / 0.6058 GB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/0.9121, allocations: 47.31 MB / 0.652 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.9222, allocations: 3.259 MB / 0.6552 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.9249, allocations: 1.644 MB / 0.6568 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.9353, allocations: 4.036 MB / 0.6607 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.9354, allocations: 55.06 kB / 0.6608 GB, free: 9.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 6.201e-06/0.9354, allocations: 0 / 0.6608 GB, free: 9.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.282/1.217, allocations: 10.88 MB / 0.6714 GB, free: 106.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.217, allocations: 144.7 kB / 0.6715 GB, free: 106.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/1.223, allocations: 4.067 MB / 0.6755 GB, free: 106.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/1.223, allocations: 42.61 kB / 0.6755 GB, free: 106.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.225, allocations: 3.087 MB / 0.6786 GB, free: 105.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/1.226, allocations: 0.5051 MB / 0.6791 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.226, allocations: 110.8 kB / 0.6792 GB, free: 105.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00025/1.226, allocations: 0.5477 MB / 0.6797 GB, free: 105 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/1.229, allocations: 1.817 MB / 0.6815 GB, free: 105 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/1.232, allocations: 5.528 MB / 0.6869 GB, free: 100.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/1.239, allocations: 7.989 MB / 0.6947 GB, free: 95.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.95e-05/1.239, allocations: 36.25 kB / 0.6947 GB, free: 95.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01186/1.251, allocations: 7.761 MB / 0.7023 GB, free: 94.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/1.251, allocations: 59.94 kB / 0.7023 GB, free: 94.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/1.251, allocations: 137.2 kB / 0.7025 GB, free: 94.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/1.253, allocations: 0.8866 MB / 0.7033 GB, free: 94.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/1.256, allocations: 1.312 MB / 0.7046 GB, free: 94.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005128/1.262, allocations: 4.779 MB / 0.7093 GB, free: 91.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.265, allocations: 306.4 kB / 0.7096 GB, free: 91.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005462/1.266, allocations: 363.4 kB / 0.7099 GB, free: 91.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (694): * Single equations (assignments): 690 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002988/1.269, allocations: 2.015 MB / 0.7119 GB, free: 90.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005384/1.27, allocations: 329.6 kB / 0.7122 GB, free: 90.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/1.274, allocations: 2.501 MB / 0.7146 GB, free: 89.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.274, allocations: 14.69 kB / 0.7147 GB, free: 89.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.274, allocations: 10.84 kB / 0.7147 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.274, allocations: 9.891 kB / 0.7147 GB, free: 89.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.285, allocations: 6.319 MB / 0.7209 GB, free: 87.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.285, allocations: 0 / 0.7209 GB, free: 87.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.286, allocations: 198.2 kB / 0.721 GB, free: 87.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/1.288, allocations: 0.6959 MB / 0.7217 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/1.289, allocations: 18.25 kB / 0.7217 GB, free: 87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005801/1.294, allocations: 4.353 MB / 0.726 GB, free: 84.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.294, allocations: 3.438 kB / 0.726 GB, free: 84.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006234/1.301, allocations: 4.527 MB / 0.7304 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008815/1.302, allocations: 398 kB / 0.7308 GB, free: 82.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/1.302, allocations: 19.75 kB / 0.7308 GB, free: 82.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.303, allocations: 72.69 kB / 0.7309 GB, free: 82.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.303, allocations: 68.73 kB / 0.7309 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/1.303, allocations: 39.72 kB / 0.731 GB, free: 82.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003486/1.307, allocations: 2.531 MB / 0.7335 GB, free: 81.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.307, allocations: 0 / 0.7335 GB, free: 81.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004478/1.311, allocations: 0.9153 MB / 0.7343 GB, free: 80.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 88 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003629/1.312, allocations: 167.4 kB / 0.7345 GB, free: 80.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005461/1.317, allocations: 4.361 MB / 0.7388 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.317, allocations: 0 / 0.7388 GB, free: 76.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.318, allocations: 1.178 MB / 0.7399 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.321, allocations: 423.3 kB / 0.7403 GB, free: 75.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.335, allocations: 10.22 MB / 0.7503 GB, free: 66.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/1.338, allocations: 3.101 MB / 0.7533 GB, free: 63.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.339, allocations: 275.3 kB / 0.7536 GB, free: 63.48 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/1.339, allocations: 0 / 0.7536 GB, free: 63.48 MB / 442.7 MB Notification: Performance of Templates: time 0.08011/1.419, allocations: 70.01 MB / 0.822 GB, free: 15.05 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches