Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002059/0.00206, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002727/0.002727, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2879, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01236/0.3004, allocations: 10.99 MB / 420.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007862/0.3083, allocations: 3.816 MB / 424 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.3101, allocations: 63.88 kB / 424.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005174/0.3153, allocations: 2.683 MB / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.3202, allocations: 1.754 MB / 428.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3219, allocations: 0.5732 MB / 429.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005888/0.3278, allocations: 3.579 MB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007816/0.3356, allocations: 3.596 MB / 436.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.3397, allocations: 1.441 MB / 437.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.343, allocations: 1.994 MB / 439.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.3442, allocations: 320 kB / 440 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.3471, allocations: 1.034 MB / 441.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002313/0.3494, allocations: 1.8 MB / 442.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003591/0.353, allocations: 2.078 MB / 445 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007622/0.3606, allocations: 6.647 MB / 451.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3607, allocations: 0 / 451.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3607, allocations: 0 / 451.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001393/0.3608, allocations: 0 / 451.6 MB, free: 7.016 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01663/0.3774, allocations: 5.051 MB / 456.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3775, allocations: 12.03 kB / 456.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006634/0.3842, allocations: 1.852 MB / 458.5 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/0.3891, allocations: 2.236 MB / 460.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.3893, allocations: 221.7 kB / 461 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006647/0.39, allocations: 299.8 kB / 461.3 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/0.4083, allocations: 10.02 MB / 471.3 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.4085, allocations: 43.59 kB / 471.3 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.4089, allocations: 139.9 kB / 471.5 MB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/0.4121, allocations: 1.805 MB / 473.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.4305, allocations: 8.977 MB / 482.2 MB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04994/0.4804, allocations: 37.73 MB / 0.5078 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/0.4934, allocations: 3.588 MB / 0.5113 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.4956, allocations: 1.676 MB / 0.5129 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.4962, allocations: 355.8 kB / 0.5133 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.4963, allocations: 51.06 kB / 0.5133 GB, free: 10.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.977e-06/0.4963, allocations: 0 / 0.5133 GB, free: 10.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.03998/0.5363, allocations: 12.67 MB / 0.5257 GB, free: 14.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.5364, allocations: 141.1 kB / 0.5258 GB, free: 13.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/0.5417, allocations: 4.044 MB / 0.5298 GB, free: 9.801 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002429/0.542, allocations: 49.7 kB / 0.5298 GB, free: 9.746 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/0.544, allocations: 3.008 MB / 0.5328 GB, free: 6.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007493/0.5448, allocations: 0.5403 MB / 0.5333 GB, free: 6.148 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.5463, allocations: 1.17 MB / 0.5344 GB, free: 4.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5464, allocations: 309.1 kB / 0.5347 GB, free: 4.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/0.5491, allocations: 1.959 MB / 0.5366 GB, free: 2.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2199/0.7691, allocations: 5.65 MB / 0.5422 GB, free: 118.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009042/0.7782, allocations: 8.259 MB / 0.5502 GB, free: 111.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001742/0.7784, allocations: 43.25 kB / 0.5503 GB, free: 111.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01355/0.792, allocations: 8.078 MB / 0.5581 GB, free: 109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.7922, allocations: 66.23 kB / 0.5582 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002653/0.7925, allocations: 133.2 kB / 0.5583 GB, free: 109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/0.7949, allocations: 0.902 MB / 0.5592 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/0.7987, allocations: 1.317 MB / 0.5605 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.8041, allocations: 5.202 MB / 0.5656 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/0.8083, allocations: 303.4 kB / 0.5659 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006665/0.809, allocations: 375.3 kB / 0.5662 GB, free: 104.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (699): * Single equations (assignments): 695 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002687/0.8117, allocations: 1.975 MB / 0.5682 GB, free: 102.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/0.8122, allocations: 332.6 kB / 0.5685 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/0.8167, allocations: 2.764 MB / 0.5712 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.8168, allocations: 20.59 kB / 0.5712 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.8168, allocations: 8 kB / 0.5712 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.8168, allocations: 3.984 kB / 0.5712 GB, free: 100.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.8274, allocations: 7.051 MB / 0.5781 GB, free: 92.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.8275, allocations: 7.234 kB / 0.5781 GB, free: 92.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.8285, allocations: 215.7 kB / 0.5783 GB, free: 92.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.8304, allocations: 0.7262 MB / 0.579 GB, free: 92.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.8306, allocations: 35.91 kB / 0.5791 GB, free: 92.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/0.8355, allocations: 4.741 MB / 0.5837 GB, free: 87.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.8355, allocations: 12.05 kB / 0.5837 GB, free: 87.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/0.8419, allocations: 5.084 MB / 0.5887 GB, free: 82.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.843, allocations: 388.6 kB / 0.589 GB, free: 81.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.8433, allocations: 27.98 kB / 0.5891 GB, free: 81.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.8444, allocations: 63.92 kB / 0.5891 GB, free: 81.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.8447, allocations: 92.52 kB / 0.5892 GB, free: 81.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.65e-05/0.8448, allocations: 47.97 kB / 0.5892 GB, free: 81.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002916/0.8477, allocations: 2.533 MB / 0.5917 GB, free: 78.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8477, allocations: 4 kB / 0.5917 GB, free: 78.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004217/0.8519, allocations: 0.8853 MB / 0.5926 GB, free: 78.11 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003639/0.8523, allocations: 153.2 kB / 0.5927 GB, free: 77.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00602/0.8583, allocations: 4.671 MB / 0.5973 GB, free: 73.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8584, allocations: 0 / 0.5973 GB, free: 73.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.8598, allocations: 1.349 MB / 0.5986 GB, free: 71.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.862, allocations: 426.7 kB / 0.599 GB, free: 71.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.8729, allocations: 8.329 MB / 0.6072 GB, free: 63.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/0.8752, allocations: 3.056 MB / 0.6101 GB, free: 60.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003391/0.8786, allocations: 1.849 MB / 0.6119 GB, free: 58.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.8792, allocations: 251.3 kB / 0.6122 GB, free: 58 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.8792, allocations: 0 / 0.6122 GB, free: 58 MB / 462.1 MB Notification: Performance of Templates: time 0.05447/0.9337, allocations: 31.45 MB / 0.6429 GB, free: 26.79 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches