Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 175.6 kB / 17.4 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 241.4 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008012, allocations: 100.4 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2309, allocations: 50.41 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.3576, allocations: 100.2 MB / 0.4911 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3579, allocations: 91.94 kB / 0.4912 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3662/0.7241, allocations: 94.3 MB / 0.5833 GB, free: 30.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7242, allocations: 3.938 kB / 0.5833 GB, free: 30.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002281/0.7244, allocations: 99.94 kB / 0.5834 GB, free: 30.08 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01612/0.7406, allocations: 5.362 MB / 0.5886 GB, free: 24.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.7406, allocations: 12.03 kB / 0.5886 GB, free: 24.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008895/0.7495, allocations: 2.244 MB / 0.5908 GB, free: 22.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007222/0.7568, allocations: 3.653 MB / 0.5944 GB, free: 18.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.7571, allocations: 375 kB / 0.5948 GB, free: 18.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/0.7588, allocations: 499.8 kB / 0.5952 GB, free: 17.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.7811, allocations: 12.5 MB / 0.6074 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.7814, allocations: 71.25 kB / 0.6075 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/0.7827, allocations: 243.9 kB / 0.6077 GB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/0.784, allocations: 1.133 MB / 0.6089 GB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.8044, allocations: 10.7 MB / 0.6193 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2848/1.089, allocations: 55.51 MB / 0.6735 GB, free: 47.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.102, allocations: 4.906 MB / 0.6783 GB, free: 47.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003582/1.106, allocations: 3.058 MB / 0.6813 GB, free: 47.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.107, allocations: 0.6751 MB / 0.6819 GB, free: 46.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/1.107, allocations: 57.16 kB / 0.682 GB, free: 46.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 5.871e-06/1.107, allocations: 0 / 0.682 GB, free: 46.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.06017/1.167, allocations: 23.9 MB / 0.7053 GB, free: 43.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.167, allocations: 158.7 kB / 0.7055 GB, free: 43.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/1.173, allocations: 4.491 MB / 0.7099 GB, free: 42.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005865/1.174, allocations: 61.78 kB / 0.7099 GB, free: 42.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/1.176, allocations: 3.486 MB / 0.7133 GB, free: 41.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.177, allocations: 0.8777 MB / 0.7142 GB, free: 40.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/1.177, allocations: 135.8 kB / 0.7143 GB, free: 40.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002903/1.177, allocations: 0.5862 MB / 0.7149 GB, free: 40.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/1.181, allocations: 2.889 MB / 0.7177 GB, free: 39.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00547/1.187, allocations: 6.855 MB / 0.7244 GB, free: 33.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/1.198, allocations: 10.54 MB / 0.7347 GB, free: 25.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001785/1.198, allocations: 40.38 kB / 0.7347 GB, free: 25.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02041/1.218, allocations: 10.55 MB / 0.745 GB, free: 20.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000172/1.219, allocations: 67.94 kB / 0.7451 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002154/1.219, allocations: 140 kB / 0.7452 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/1.221, allocations: 1.123 MB / 0.7463 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005642/1.227, allocations: 1.663 MB / 0.748 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/1.234, allocations: 5.945 MB / 0.7538 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00639/1.24, allocations: 405.7 kB / 0.7542 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/1.242, allocations: 427.1 kB / 0.7546 GB, free: 12.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (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.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 (835): * Single equations (assignments): 831 * 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.005789/1.248, allocations: 2.351 MB / 0.7569 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/1.249, allocations: 402.8 kB / 0.7572 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008764/1.258, allocations: 5.218 MB / 0.7623 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.273e-05/1.258, allocations: 24 kB / 0.7624 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.258, allocations: 4 kB / 0.7624 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.258, allocations: 14.08 kB / 0.7624 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02915/1.287, allocations: 11.95 MB / 0.7741 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/1.287, allocations: 4 kB / 0.7741 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002584/1.289, allocations: 475.2 kB / 0.7745 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002508/1.292, allocations: 0.9325 MB / 0.7754 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005792/1.293, allocations: 50.62 kB / 0.7755 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007185/1.3, allocations: 5.636 MB / 0.781 GB, free: 7.645 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.3, allocations: 7.938 kB / 0.781 GB, free: 7.637 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.314, allocations: 8.896 MB / 0.7897 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/1.317, allocations: 0.8612 MB / 0.7905 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.319, allocations: 40 kB / 0.7905 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/1.321, allocations: 167.8 kB / 0.7907 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/1.322, allocations: 151.5 kB / 0.7909 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/1.322, allocations: 64 kB / 0.7909 GB, free: 13.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005771/1.328, allocations: 2.815 MB / 0.7937 GB, free: 10.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.328, allocations: 0 / 0.7937 GB, free: 10.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008572/1.337, allocations: 1.2 MB / 0.7948 GB, free: 9.793 MB / 458.7 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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0009902/1.338, allocations: 200 kB / 0.795 GB, free: 9.594 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01256/1.35, allocations: 6.904 MB / 0.8018 GB, free: 2.703 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.35, allocations: 0 / 0.8018 GB, free: 2.703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004751/1.355, allocations: 2.558 MB / 0.8043 GB, free: 140 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/1.362, allocations: 491.9 kB / 0.8047 GB, free: 15.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/1.389, allocations: 13.45 MB / 0.8179 GB, free: 2.215 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00665/1.396, allocations: 3.668 MB / 0.8215 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00672/1.403, allocations: 2.226 MB / 0.8236 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.404, allocations: 307.3 kB / 0.8239 GB, free: 12.02 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/1.404, allocations: 0 / 0.8239 GB, free: 12.02 MB / 490.7 MB Notification: Performance of Templates: time 0.2788/1.683, allocations: 46 MB / 0.8688 GB, free: 131.1 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches