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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001059/0.00106, allocations: 94.97 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002009/0.0002009, allocations: 4 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08651, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2056/0.2922, allocations: 56.14 MB / 414.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03146/0.3237, allocations: 12.95 MB / 427.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01086/0.3346, allocations: 279.4 kB / 427.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007722/0.3423, allocations: 2.819 MB / 430.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02492/0.3673, allocations: 8.021 MB / 438.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004111/0.3714, allocations: 0.6202 MB / 438.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005082/0.3765, allocations: 2.438 MB / 441.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008238/0.3848, allocations: 5.696 MB / 447 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.3868, allocations: 1.16 MB / 448.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.3891, allocations: 1.526 MB / 449.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007204/0.3898, allocations: 164 kB / 449.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.3916, allocations: 0.7724 MB / 450.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.3933, allocations: 1.773 MB / 452.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.3945, allocations: 0.9635 MB / 453.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.4004, allocations: 6.336 MB / 459.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.4004, allocations: 0 / 459.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4004, allocations: 0 / 459.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001826/0.4006, allocations: 0 / 459.7 MB, free: 5.848 MB / 366.1 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.01766/0.4183, allocations: 5.421 MB / 465.1 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4183, allocations: 12.03 kB / 465.1 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008204/0.4265, allocations: 2.345 MB / 467.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005765/0.4323, allocations: 2.707 MB / 470.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.4325, allocations: 295.5 kB / 470.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008003/0.4334, allocations: 383.8 kB / 470.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.4541, allocations: 12.47 MB / 483.3 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.4543, allocations: 39.59 kB / 483.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004754/0.4547, allocations: 187.8 kB / 483.6 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003956/0.4587, allocations: 2.245 MB / 485.8 MB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.4796, allocations: 11.42 MB / 497.2 MB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2289/0.7085, allocations: 46.97 MB / 0.5314 GB, free: 135.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01849/0.7271, allocations: 5.461 MB / 0.5368 GB, free: 134.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/0.7278, allocations: 381.8 kB / 0.5371 GB, free: 134.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7278, allocations: 51.12 kB / 0.5372 GB, free: 134.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 6.251e-06/0.7279, allocations: 2.125 kB / 0.5372 GB, free: 134.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07274/0.8006, allocations: 27.52 MB / 0.5641 GB, free: 127.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/0.8007, allocations: 158.4 kB / 0.5642 GB, free: 126.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00581/0.8066, allocations: 4.61 MB / 0.5687 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005672/0.8072, allocations: 59.02 kB / 0.5688 GB, free: 124.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.809, allocations: 3.473 MB / 0.5722 GB, free: 121.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008082/0.8098, allocations: 0.8762 MB / 0.573 GB, free: 120.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.8101, allocations: 129.5 kB / 0.5731 GB, free: 120.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.8104, allocations: 0.591 MB / 0.5737 GB, free: 119.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003612/0.814, allocations: 3.257 MB / 0.5769 GB, free: 116.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005032/0.8191, allocations: 7.184 MB / 0.5839 GB, free: 107.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005153/0.8242, allocations: 4.72 MB / 0.5885 GB, free: 103.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-05/0.8243, allocations: 40 kB / 0.5886 GB, free: 103.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01584/0.8402, allocations: 11.37 MB / 0.5997 GB, free: 91.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.769e-05/0.8403, allocations: 65 kB / 0.5997 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.904e-05/0.8404, allocations: 140 kB / 0.5999 GB, free: 91.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.8429, allocations: 1.143 MB / 0.601 GB, free: 90.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/0.8485, allocations: 1.723 MB / 0.6027 GB, free: 88.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.8548, allocations: 6.109 MB / 0.6086 GB, free: 82.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006018/0.8608, allocations: 408.3 kB / 0.609 GB, free: 81.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/0.8617, allocations: 449.2 kB / 0.6094 GB, free: 81.55 MB / 446.1 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 (833): * Single equations (assignments): 829 * 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.003567/0.8653, allocations: 2.356 MB / 0.6117 GB, free: 79.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006969/0.866, allocations: 402.8 kB / 0.6121 GB, free: 78.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008195/0.8742, allocations: 6.129 MB / 0.6181 GB, free: 72.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/0.8743, allocations: 29.17 kB / 0.6181 GB, free: 72.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.8743, allocations: 7.953 kB / 0.6181 GB, free: 72.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.8743, allocations: 9.797 kB / 0.6182 GB, free: 72.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/0.8953, allocations: 12.85 MB / 0.6307 GB, free: 59.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.8953, allocations: 4 kB / 0.6307 GB, free: 59.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/0.8979, allocations: 0.5425 MB / 0.6312 GB, free: 59.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.9002, allocations: 0.9449 MB / 0.6322 GB, free: 58.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/0.9004, allocations: 87.89 kB / 0.6322 GB, free: 58.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/0.9064, allocations: 5.819 MB / 0.6379 GB, free: 52.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.9064, allocations: 8 kB / 0.6379 GB, free: 52.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.9189, allocations: 10.79 MB / 0.6485 GB, free: 41.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/0.9215, allocations: 0.9056 MB / 0.6493 GB, free: 40.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000768/0.9223, allocations: 41.02 kB / 0.6494 GB, free: 40.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.9245, allocations: 163.8 kB / 0.6495 GB, free: 40.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/0.9249, allocations: 187.2 kB / 0.6497 GB, free: 39.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/0.9251, allocations: 104.8 kB / 0.6498 GB, free: 39.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003537/0.9286, allocations: 2.905 MB / 0.6527 GB, free: 36.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9287, allocations: 3.938 kB / 0.6527 GB, free: 36.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005966/0.9346, allocations: 1.232 MB / 0.6539 GB, free: 35.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (205): * Single equations (assignments): 201 * 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.0006174/0.9353, allocations: 192.2 kB / 0.654 GB, free: 35.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009587/0.9449, allocations: 7.695 MB / 0.6616 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.9449, allocations: 0 / 0.6616 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003621/0.9485, allocations: 2.965 MB / 0.6645 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.9512, allocations: 468.3 kB / 0.6649 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/0.9718, allocations: 13.96 MB / 0.6785 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/0.9752, allocations: 3.768 MB / 0.6822 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00537/0.9806, allocations: 2.306 MB / 0.6845 GB, free: 4.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.982, allocations: 415.1 kB / 0.6849 GB, free: 3.762 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.982, allocations: 3.938 kB / 0.6849 GB, free: 3.758 MB / 446.1 MB Notification: Performance of Templates: time 0.2685/1.25, allocations: 52.85 MB / 0.7365 GB, free: 128.2 MB / 462.1 MB 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/jenkins/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