Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002178/0.002177, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 88.84 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.546e-05/2.565e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3513, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5138, allocations: 98.26 MB / 460.6 MB, free: 4.004 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.5141, allocations: 87.95 kB / 460.7 MB, free: 3.918 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6931/1.207, allocations: 96.17 MB / 0.5438 GB, free: 93.68 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.176e-06/1.207, allocations: 3.344 kB / 0.5438 GB, free: 93.68 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003035/1.208, allocations: 102.1 kB / 0.5439 GB, free: 93.67 MB / 395.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.02998/1.238, allocations: 5.489 MB / 0.5493 GB, free: 90.18 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.238, allocations: 7.688 kB / 0.5493 GB, free: 90.18 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/1.255, allocations: 2.328 MB / 0.5516 GB, free: 89.07 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01864/1.274, allocations: 4.931 MB / 0.5564 GB, free: 85.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/1.274, allocations: 172 kB / 0.5565 GB, free: 85.57 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/1.277, allocations: 308 kB / 0.5568 GB, free: 85.27 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01926/1.297, allocations: 7.748 MB / 0.5644 GB, free: 77.51 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02975/1.326, allocations: 11.54 MB / 0.5757 GB, free: 64.85 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/1.327, allocations: 71.31 kB / 0.5757 GB, free: 64.78 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002682/1.329, allocations: 39.94 kB / 0.5758 GB, free: 64.74 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002824/1.332, allocations: 1.203 MB / 0.5769 GB, free: 63.54 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09136/1.424, allocations: 54.94 MB / 0.6306 GB, free: 7.41 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.435, allocations: 4.366 MB / 0.6349 GB, free: 2.891 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008846/1.444, allocations: 3.12 MB / 0.6379 GB, free: 15.76 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003083/1.448, allocations: 0.6829 MB / 0.6386 GB, free: 14.98 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/1.448, allocations: 55.88 kB / 0.6386 GB, free: 14.92 MB / 411.1 MB Notification: Performance of pre-optimization done (n=221): time 1.05e-05/1.448, allocations: 0 / 0.6386 GB, free: 14.92 MB / 411.1 MB Notification: Performance of matching and sorting (n=252): time 0.4613/1.909, allocations: 22.29 MB / 0.6604 GB, free: 97.4 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/1.909, allocations: 157.2 kB / 0.6606 GB, free: 97.24 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009826/1.919, allocations: 3.376 MB / 0.6638 GB, free: 96.87 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007286/1.92, allocations: 30.52 kB / 0.6639 GB, free: 96.84 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/1.923, allocations: 3.611 MB / 0.6674 GB, free: 94.62 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.925, allocations: 0.9238 MB / 0.6683 GB, free: 94.07 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/1.926, allocations: 0 / 0.6683 GB, free: 94.07 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0008263/1.927, allocations: 0.6167 MB / 0.6689 GB, free: 93.75 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007963/1.935, allocations: 2.88 MB / 0.6717 GB, free: 93.73 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.946, allocations: 7.073 MB / 0.6786 GB, free: 88.32 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.956, allocations: 4.446 MB / 0.683 GB, free: 87.58 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002914/1.957, allocations: 41.34 kB / 0.683 GB, free: 87.58 MB / 411.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02908/1.986, allocations: 9.961 MB / 0.6927 GB, free: 84.56 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/1.986, allocations: 76.8 kB / 0.6928 GB, free: 84.55 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/1.986, allocations: 148.6 kB / 0.693 GB, free: 84.55 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004861/1.991, allocations: 1.143 MB / 0.6941 GB, free: 84.37 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01194/2.003, allocations: 1.793 MB / 0.6958 GB, free: 84.17 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/2.014, allocations: 5.641 MB / 0.7013 GB, free: 81.3 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009028/2.023, allocations: 293.8 kB / 0.7016 GB, free: 81.28 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/2.025, allocations: 450.3 kB / 0.702 GB, free: 81.23 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (903): * Single equations (assignments): 899 * 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.003057/2.028, allocations: 493.2 kB / 0.7025 GB, free: 80.82 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/2.029, allocations: 375.2 kB / 0.7029 GB, free: 80.62 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/2.046, allocations: 5.282 MB / 0.708 GB, free: 78.78 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.998e-05/2.046, allocations: 32.38 kB / 0.7081 GB, free: 78.77 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/2.046, allocations: 4.719 kB / 0.7081 GB, free: 78.77 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-05/2.046, allocations: 14.31 kB / 0.7081 GB, free: 78.77 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03301/2.079, allocations: 11.01 MB / 0.7188 GB, free: 73 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/2.079, allocations: 4 kB / 0.7188 GB, free: 73 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005304/2.084, allocations: 0.5014 MB / 0.7193 GB, free: 72.61 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004375/2.089, allocations: 0.9297 MB / 0.7202 GB, free: 71.97 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007673/2.09, allocations: 14.95 kB / 0.7202 GB, free: 71.96 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009919/2.1, allocations: 5.33 MB / 0.7254 GB, free: 67.27 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/2.1, allocations: 6.625 kB / 0.7255 GB, free: 67.26 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/2.121, allocations: 9.444 MB / 0.7347 GB, free: 58.9 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003568/2.125, allocations: 0.8375 MB / 0.7355 GB, free: 58.12 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/2.127, allocations: 16.41 kB / 0.7355 GB, free: 58.11 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004653/2.131, allocations: 141.3 kB / 0.7356 GB, free: 58.04 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/2.132, allocations: 146.9 kB / 0.7358 GB, free: 57.94 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004088/2.133, allocations: 71.75 kB / 0.7358 GB, free: 57.88 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.005735/2.138, allocations: 2.246 MB / 0.738 GB, free: 55.9 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.92e-07/2.138, allocations: 0 / 0.738 GB, free: 55.9 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.009479/2.148, allocations: 1.094 MB / 0.7391 GB, free: 54.82 MB / 411.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 () * 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 (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.001145/2.149, allocations: 150.5 kB / 0.7393 GB, free: 54.67 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0154/2.165, allocations: 6.891 MB / 0.746 GB, free: 48.53 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/2.165, allocations: 0 / 0.746 GB, free: 48.53 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006223/2.171, allocations: 2.621 MB / 0.7485 GB, free: 46.19 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/2.176, allocations: 359.9 kB / 0.7489 GB, free: 45.89 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/2.209, allocations: 10.5 MB / 0.7591 GB, free: 36.18 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008813/2.218, allocations: 3.907 MB / 0.763 GB, free: 32.26 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002808/2.22, allocations: 351.3 kB / 0.7633 GB, free: 31.91 MB / 411.1 MB Notification: Performance of SimCode: time 1.323e-06/2.22, allocations: 0 / 0.7633 GB, free: 31.91 MB / 411.1 MB Notification: Performance of Templates: time 0.4998/2.72, allocations: 88.42 MB / 0.8496 GB, free: 94.98 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches