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.0009563/0.0009564, allocations: 196 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.6 MB / 244.3 MB, free: 6.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007581/0.000758, allocations: 99.5 kB / 296.4 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002069/0.0002069, allocations: 11.98 kB / 356.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1952, allocations: 51.3 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04116/0.2364, allocations: 59.48 MB / 467 MB, free: 148 kB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02483/0.2613, allocations: 12.37 MB / 479.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01161/0.273, allocations: 283.3 kB / 479.6 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.2832, allocations: 3.11 MB / 482.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02367/0.3069, allocations: 9.023 MB / 491.8 MB, free: 7.297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.3104, allocations: 0.6085 MB / 492.4 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.318, allocations: 5.048 MB / 497.4 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.3284, allocations: 5.745 MB / 0.4914 GB, free: 11.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.3314, allocations: 1.413 MB / 0.4927 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.3348, allocations: 2.192 MB / 0.4949 GB, free: 8.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008992/0.3357, allocations: 164 kB / 0.495 GB, free: 8.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.3378, allocations: 0.7919 MB / 0.4958 GB, free: 7.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002161/0.34, allocations: 1.897 MB / 0.4977 GB, free: 5.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.3414, allocations: 0.9595 MB / 0.4986 GB, free: 4.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.204/0.5455, allocations: 6.338 MB / 0.5048 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5455, allocations: 0 / 0.5048 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5455, allocations: 0.9688 kB / 0.5048 GB, free: 11.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002642/0.5458, allocations: 0 / 0.5048 GB, free: 11.93 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.01741/0.5632, allocations: 5.231 MB / 0.5099 GB, free: 9.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5633, allocations: 8.25 kB / 0.5099 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007332/0.5706, allocations: 2.048 MB / 0.5119 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005482/0.5761, allocations: 2.574 MB / 0.5144 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.5763, allocations: 290.5 kB / 0.5147 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.5773, allocations: 394.8 kB / 0.5151 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.5968, allocations: 12.36 MB / 0.5271 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.5969, allocations: 55.53 kB / 0.5272 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000483/0.5974, allocations: 180.3 kB / 0.5274 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003552/0.601, allocations: 2.259 MB / 0.5296 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.6204, allocations: 11.27 MB / 0.5406 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.6757, allocations: 46.97 MB / 0.5865 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/0.6925, allocations: 5.357 MB / 0.5917 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/0.6965, allocations: 3.313 MB / 0.5949 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/0.6972, allocations: 377.1 kB / 0.5953 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.6972, allocations: 66.14 kB / 0.5953 GB, free: 10.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 4.549e-06/0.6972, allocations: 1.641 kB / 0.5953 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.06707/0.7643, allocations: 26.8 MB / 0.6215 GB, free: 2.746 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.7644, allocations: 157.6 kB / 0.6217 GB, free: 2.562 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005384/0.7698, allocations: 4.478 MB / 0.626 GB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000447/0.7703, allocations: 65.38 kB / 0.6261 GB, free: 14.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002178/0.7725, allocations: 3.472 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000964/0.7735, allocations: 0.8773 MB / 0.6303 GB, free: 9.676 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.7738, allocations: 128 kB / 0.6305 GB, free: 9.551 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003673/0.7742, allocations: 0.5872 MB / 0.631 GB, free: 8.957 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/0.7786, allocations: 3.269 MB / 0.6342 GB, free: 5.684 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006557/0.7851, allocations: 7.226 MB / 0.6413 GB, free: 12.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005974/0.7911, allocations: 4.737 MB / 0.6459 GB, free: 7.965 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-05/0.7912, allocations: 40 kB / 0.646 GB, free: 7.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01652/0.8077, allocations: 11.38 MB / 0.6571 GB, free: 13.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.8078, allocations: 64 kB / 0.6571 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.8079, allocations: 140 kB / 0.6573 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.8105, allocations: 1.144 MB / 0.6584 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005224/0.8158, allocations: 1.728 MB / 0.6601 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00724/0.823, allocations: 6.022 MB / 0.6659 GB, free: 4.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/0.8277, allocations: 399.6 kB / 0.6663 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008169/0.8285, allocations: 455.8 kB / 0.6668 GB, free: 3.508 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (837): * Single equations (assignments): 833 * 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.003537/0.8321, allocations: 2.357 MB / 0.6691 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/0.8328, allocations: 406.8 kB / 0.6695 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009349/0.8422, allocations: 6.112 MB / 0.6754 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.8422, allocations: 26.72 kB / 0.6754 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.8422, allocations: 4 kB / 0.6755 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.8423, allocations: 11.97 kB / 0.6755 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.192/1.034, allocations: 12.92 MB / 0.6881 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.034, allocations: 3.562 kB / 0.6881 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/1.037, allocations: 0.5403 MB / 0.6886 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/1.039, allocations: 0.9445 MB / 0.6895 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/1.04, allocations: 82.8 kB / 0.6896 GB, free: 200.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/1.046, allocations: 5.715 MB / 0.6952 GB, free: 198.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.046, allocations: 0 / 0.6952 GB, free: 198.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.058, allocations: 10.35 MB / 0.7053 GB, free: 195.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.059, allocations: 0.8947 MB / 0.7062 GB, free: 194.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/1.06, allocations: 40 kB / 0.7062 GB, free: 194.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.062, allocations: 157.2 kB / 0.7064 GB, free: 194.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/1.062, allocations: 193.1 kB / 0.7065 GB, free: 194.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/1.062, allocations: 103.3 kB / 0.7066 GB, free: 194.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003309/1.066, allocations: 2.802 MB / 0.7094 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/1.066, allocations: 3.938 kB / 0.7094 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00481/1.071, allocations: 1.207 MB / 0.7106 GB, free: 193.7 MB / 0.4948 GB 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.000456/1.071, allocations: 185.7 kB / 0.7107 GB, free: 193.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008968/1.08, allocations: 7.711 MB / 0.7183 GB, free: 187.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.08, allocations: 0 / 0.7183 GB, free: 187.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003197/1.083, allocations: 2.966 MB / 0.7212 GB, free: 184.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.086, allocations: 486.3 kB / 0.7216 GB, free: 184.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/1.102, allocations: 14.46 MB / 0.7357 GB, free: 170.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/1.105, allocations: 3.656 MB / 0.7393 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.107, allocations: 471.1 kB / 0.7398 GB, free: 166 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/1.107, allocations: 0 / 0.7398 GB, free: 166 MB / 0.4948 GB Notification: Performance of Templates: time 0.09361/1.201, allocations: 93.49 MB / 0.8311 GB, free: 72.61 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/jenkins/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