Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.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_trunk_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 199.6 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.282/1.282, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008641/0.0008642, allocations: 96.78 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002264/0.0002264, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1892, allocations: 51.28 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.2972, allocations: 100.7 MB / 0.4974 GB, free: 6.855 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.2974, allocations: 95.94 kB / 0.4975 GB, free: 6.762 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3644/0.6619, allocations: 94.46 MB / 0.5898 GB, free: 21.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.6619, allocations: 3.938 kB / 0.5898 GB, free: 21.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001913/0.6621, allocations: 104 kB / 0.5899 GB, free: 21.03 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.01755/0.6797, allocations: 5.452 MB / 0.5952 GB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6797, allocations: 12.03 kB / 0.5952 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009478/0.6892, allocations: 2.291 MB / 0.5974 GB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.6995, allocations: 3.548 MB / 0.6009 GB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.6999, allocations: 379 kB / 0.6013 GB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.7025, allocations: 499.8 kB / 0.6017 GB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/0.7323, allocations: 12.51 MB / 0.614 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004025/0.7327, allocations: 75.3 kB / 0.614 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002415/0.7352, allocations: 239.9 kB / 0.6143 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.7381, allocations: 1.145 MB / 0.6154 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03128/0.7694, allocations: 10.69 MB / 0.6258 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3438/1.113, allocations: 55.51 MB / 0.68 GB, free: 58.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/1.126, allocations: 4.905 MB / 0.6848 GB, free: 57.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00364/1.13, allocations: 3.043 MB / 0.6878 GB, free: 57.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009014/1.131, allocations: 0.685 MB / 0.6885 GB, free: 57.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.131, allocations: 58.06 kB / 0.6885 GB, free: 57.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.152e-06/1.131, allocations: 0 / 0.6885 GB, free: 57.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.06025/1.191, allocations: 23.89 MB / 0.7118 GB, free: 53.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/1.191, allocations: 156.5 kB / 0.712 GB, free: 53.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008521/1.2, allocations: 4.495 MB / 0.7164 GB, free: 53.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006347/1.2, allocations: 58.36 kB / 0.7164 GB, free: 53.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002839/1.203, allocations: 3.484 MB / 0.7198 GB, free: 51.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.205, allocations: 0.8774 MB / 0.7207 GB, free: 51.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009665/1.206, allocations: 137.6 kB / 0.7208 GB, free: 51.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006274/1.206, allocations: 0.5904 MB / 0.7214 GB, free: 50.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004956/1.211, allocations: 2.886 MB / 0.7242 GB, free: 50.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007438/1.219, allocations: 6.851 MB / 0.7309 GB, free: 44.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/1.231, allocations: 10.54 MB / 0.7412 GB, free: 37.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001792/1.231, allocations: 39.78 kB / 0.7412 GB, free: 37.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02039/1.251, allocations: 10.55 MB / 0.7515 GB, free: 33.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/1.252, allocations: 68.5 kB / 0.7516 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003104/1.252, allocations: 138.4 kB / 0.7517 GB, free: 33.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/1.255, allocations: 1.121 MB / 0.7528 GB, free: 33.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/1.261, allocations: 1.663 MB / 0.7545 GB, free: 32.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/1.269, allocations: 5.93 MB / 0.7603 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006349/1.275, allocations: 413.6 kB / 0.7606 GB, free: 26.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.277, allocations: 420.5 kB / 0.761 GB, free: 26.32 MB / 442.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.006011/1.283, allocations: 2.356 MB / 0.7634 GB, free: 24.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.284, allocations: 402.8 kB / 0.7637 GB, free: 23.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/1.294, allocations: 5.219 MB / 0.7688 GB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-05/1.294, allocations: 27.94 kB / 0.7689 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.294, allocations: 7.75 kB / 0.7689 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/1.294, allocations: 10.12 kB / 0.7689 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.318, allocations: 11.52 MB / 0.7801 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-05/1.318, allocations: 7.312 kB / 0.7801 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.32, allocations: 472.7 kB / 0.7806 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/1.322, allocations: 0.9366 MB / 0.7815 GB, free: 9.316 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004279/1.323, allocations: 43.42 kB / 0.7815 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/1.329, allocations: 5.648 MB / 0.7871 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.329, allocations: 7.938 kB / 0.7871 GB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/1.344, allocations: 8.894 MB / 0.7957 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002581/1.347, allocations: 0.8675 MB / 0.7966 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.348, allocations: 41.8 kB / 0.7966 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.351, allocations: 161.6 kB / 0.7968 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007546/1.352, allocations: 145.5 kB / 0.7969 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/1.352, allocations: 63.66 kB / 0.797 GB, free: 11.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006347/1.359, allocations: 2.814 MB / 0.7997 GB, free: 9.266 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.359, allocations: 0 / 0.7997 GB, free: 9.266 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008002/1.367, allocations: 1.212 MB / 0.8009 GB, free: 8.062 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.001013/1.368, allocations: 197 kB / 0.8011 GB, free: 7.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01302/1.381, allocations: 6.898 MB / 0.8078 GB, free: 1.418 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.381, allocations: 4.188 kB / 0.8078 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005058/1.386, allocations: 2.555 MB / 0.8103 GB, free: 14.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007673/1.394, allocations: 486.7 kB / 0.8108 GB, free: 14.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/1.422, allocations: 14 MB / 0.8245 GB, free: 392 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004542/1.426, allocations: 3.671 MB / 0.8281 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.428, allocations: 347.3 kB / 0.8284 GB, free: 12.36 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/1.428, allocations: 0 / 0.8284 GB, free: 12.36 MB / 490.7 MB Notification: Performance of Templates: time 0.4015/1.83, allocations: 90.24 MB / 0.9165 GB, free: 131.5 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches