Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 201.1 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008303/0.0008302, allocations: 103.9 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002864, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2159, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.332, allocations: 100.7 MB / 0.4981 GB, free: 6.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.3322, allocations: 92.7 kB / 0.4982 GB, free: 6.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3583/0.6906, allocations: 94.46 MB / 0.5905 GB, free: 21.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6906, allocations: 0 / 0.5905 GB, free: 21.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.6908, allocations: 108 kB / 0.5906 GB, free: 20.98 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.0141/0.7049, allocations: 5.456 MB / 0.5959 GB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7049, allocations: 12.03 kB / 0.5959 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008967/0.7139, allocations: 2.287 MB / 0.5981 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006488/0.7204, allocations: 3.552 MB / 0.6016 GB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.7206, allocations: 379 kB / 0.602 GB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.7217, allocations: 499.8 kB / 0.6024 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.7418, allocations: 12.51 MB / 0.6147 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.7421, allocations: 71.31 kB / 0.6147 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007314/0.7428, allocations: 235.9 kB / 0.6149 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001448/0.7443, allocations: 1.141 MB / 0.6161 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/0.7652, allocations: 10.7 MB / 0.6265 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2716/1.037, allocations: 55.51 MB / 0.6807 GB, free: 57.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/1.049, allocations: 4.903 MB / 0.6855 GB, free: 56.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003502/1.052, allocations: 3.052 MB / 0.6885 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008953/1.053, allocations: 0.6854 MB / 0.6892 GB, free: 56.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.053, allocations: 58.56 kB / 0.6892 GB, free: 56.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 4.729e-06/1.053, allocations: 0 / 0.6892 GB, free: 56.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.0558/1.109, allocations: 23.89 MB / 0.7125 GB, free: 52.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/1.109, allocations: 152.7 kB / 0.7127 GB, free: 52.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007492/1.117, allocations: 4.5 MB / 0.7171 GB, free: 52.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000492/1.117, allocations: 62.98 kB / 0.7171 GB, free: 52.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.119, allocations: 3.48 MB / 0.7205 GB, free: 50.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007527/1.12, allocations: 0.8803 MB / 0.7214 GB, free: 50.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/1.12, allocations: 133 kB / 0.7215 GB, free: 50.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002616/1.12, allocations: 0.5905 MB / 0.7221 GB, free: 49.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/1.124, allocations: 2.886 MB / 0.7249 GB, free: 49.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.129, allocations: 6.856 MB / 0.7316 GB, free: 43.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009298/1.138, allocations: 10.54 MB / 0.7419 GB, free: 36.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-05/1.138, allocations: 43.66 kB / 0.7419 GB, free: 36.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01506/1.153, allocations: 10.54 MB / 0.7522 GB, free: 32.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/1.153, allocations: 63.88 kB / 0.7523 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/1.154, allocations: 141.3 kB / 0.7524 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/1.156, allocations: 1.116 MB / 0.7535 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004776/1.161, allocations: 1.671 MB / 0.7552 GB, free: 31.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/1.167, allocations: 5.925 MB / 0.7609 GB, free: 25.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/1.171, allocations: 418.5 kB / 0.7613 GB, free: 25.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006756/1.172, allocations: 421.1 kB / 0.7617 GB, free: 25.17 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.003653/1.176, allocations: 2.35 MB / 0.764 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007201/1.176, allocations: 406.5 kB / 0.7644 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007952/1.184, allocations: 5.222 MB / 0.7695 GB, free: 18.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/1.184, allocations: 35.12 kB / 0.7696 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.184, allocations: 4 kB / 0.7696 GB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/1.184, allocations: 10.97 kB / 0.7696 GB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/1.204, allocations: 11.51 MB / 0.7808 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.204, allocations: 4.312 kB / 0.7808 GB, free: 9.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.206, allocations: 473.5 kB / 0.7813 GB, free: 8.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/1.208, allocations: 0.9372 MB / 0.7822 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002982/1.209, allocations: 43.7 kB / 0.7822 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005737/1.214, allocations: 5.646 MB / 0.7877 GB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.214, allocations: 11.94 kB / 0.7878 GB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01818/1.233, allocations: 9.352 MB / 0.7969 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/1.235, allocations: 0.8649 MB / 0.7977 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007073/1.236, allocations: 40 kB / 0.7978 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.238, allocations: 166.4 kB / 0.7979 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/1.238, allocations: 145.6 kB / 0.7981 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/1.238, allocations: 63.98 kB / 0.7981 GB, free: 11.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004917/1.243, allocations: 2.811 MB / 0.8009 GB, free: 8.719 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.243, allocations: 0 / 0.8009 GB, free: 8.719 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00659/1.25, allocations: 1.206 MB / 0.8021 GB, free: 7.52 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.0006639/1.25, allocations: 201.5 kB / 0.8022 GB, free: 7.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01291/1.263, allocations: 6.903 MB / 0.809 GB, free: 444 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.263, allocations: 4 kB / 0.809 GB, free: 440 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.268, allocations: 2.552 MB / 0.8115 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005876/1.273, allocations: 489.2 kB / 0.812 GB, free: 13.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.299, allocations: 13.45 MB / 0.8251 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006418/1.305, allocations: 3.666 MB / 0.8287 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006676/1.312, allocations: 2.222 MB / 0.8308 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.313, allocations: 303.3 kB / 0.8311 GB, free: 9.762 MB / 490.7 MB Notification: Performance of SimCode: time 2.404e-06/1.313, allocations: 0 / 0.8311 GB, free: 9.762 MB / 490.7 MB Notification: Performance of Templates: time 0.263/1.576, allocations: 46 MB / 0.8761 GB, free: 137.4 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches