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.0009713/0.0009711, allocations: 96.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.000246, allocations: 8 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 51.53 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2351/0.3486, allocations: 44.46 MB / 403.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02366/0.3723, allocations: 9.472 MB / 413.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009313/0.3817, allocations: 196.5 kB / 413.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001595/0.3833, allocations: 400.8 kB / 413.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.388, allocations: 1.653 MB / 415.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3893, allocations: 0.5361 MB / 416 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006794/0.3961, allocations: 5.206 MB / 421.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007724/0.4038, allocations: 4.921 MB / 426.1 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.406, allocations: 1.046 MB / 427.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.4088, allocations: 1.822 MB / 429 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.4093, allocations: 132 kB / 429.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.4112, allocations: 0.9126 MB / 430 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.4129, allocations: 1.589 MB / 431.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.4149, allocations: 1.853 MB / 433.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.4214, allocations: 6.182 MB / 439.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4215, allocations: 0 / 439.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4215, allocations: 4 kB / 439.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.4216, allocations: 0 / 439.6 MB, free: 10.36 MB / 350.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.0154/0.437, allocations: 4.166 MB / 443.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4371, allocations: 12.03 kB / 443.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/0.4441, allocations: 1.906 MB / 445.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.4483, allocations: 2.205 MB / 447.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.4485, allocations: 217.7 kB / 448.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008063/0.4493, allocations: 303.8 kB / 448.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.4676, allocations: 10.03 MB / 458.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.4677, allocations: 43.59 kB / 458.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004231/0.4682, allocations: 143.9 kB / 458.6 MB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003221/0.4714, allocations: 1.809 MB / 460.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.4901, allocations: 8.982 MB / 469.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05245/0.5427, allocations: 37.87 MB / 0.4954 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.5559, allocations: 3.587 MB / 0.4989 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.5583, allocations: 1.683 MB / 0.5006 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.559, allocations: 355.6 kB / 0.5009 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.559, allocations: 47.06 kB / 0.5009 GB, free: 14.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.929e-06/0.5591, allocations: 0 / 0.5009 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.0439/0.603, allocations: 12.7 MB / 0.5133 GB, free: 2.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.6031, allocations: 149.2 kB / 0.5135 GB, free: 1.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005869/0.609, allocations: 4.04 MB / 0.5174 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003368/0.6094, allocations: 41.7 kB / 0.5175 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.6115, allocations: 3.008 MB / 0.5204 GB, free: 10.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/0.6123, allocations: 0.5442 MB / 0.5209 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.6129, allocations: 486.5 kB / 0.5214 GB, free: 9.688 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.613, allocations: 309 kB / 0.5217 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.6161, allocations: 1.967 MB / 0.5236 GB, free: 7.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2195/0.8356, allocations: 5.66 MB / 0.5291 GB, free: 139.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009704/0.8453, allocations: 8.267 MB / 0.5372 GB, free: 134.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.8455, allocations: 38.72 kB / 0.5373 GB, free: 134.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01605/0.8616, allocations: 8.089 MB / 0.5452 GB, free: 131.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.8617, allocations: 61.91 kB / 0.5452 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002369/0.862, allocations: 135.6 kB / 0.5453 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/0.8648, allocations: 0.9124 MB / 0.5462 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/0.8694, allocations: 1.325 MB / 0.5475 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.8752, allocations: 4.855 MB / 0.5523 GB, free: 128.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.8793, allocations: 323.1 kB / 0.5526 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005996/0.88, allocations: 370.6 kB / 0.5529 GB, free: 128.5 MB / 446.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.002544/0.8825, allocations: 1.977 MB / 0.5549 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/0.883, allocations: 331.8 kB / 0.5552 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004627/0.8876, allocations: 2.781 MB / 0.5579 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.8876, allocations: 15.11 kB / 0.5579 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.8876, allocations: 3.312 kB / 0.5579 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.8877, allocations: 7.672 kB / 0.5579 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.8978, allocations: 7.083 MB / 0.5648 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.8978, allocations: 7.938 kB / 0.5648 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009615/0.8988, allocations: 218.7 kB / 0.565 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.9008, allocations: 0.7114 MB / 0.5657 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/0.9009, allocations: 31.97 kB / 0.5658 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.9055, allocations: 4.417 MB / 0.5701 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9055, allocations: 8.094 kB / 0.5701 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006398/0.912, allocations: 5.1 MB / 0.5751 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/0.9128, allocations: 396.6 kB / 0.5755 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.9131, allocations: 23.98 kB / 0.5755 GB, free: 112.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9143, allocations: 76.8 kB / 0.5756 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.9145, allocations: 92.52 kB / 0.5756 GB, free: 112.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.9146, allocations: 50.41 kB / 0.5757 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002987/0.9176, allocations: 2.529 MB / 0.5782 GB, free: 110.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9176, allocations: 4 kB / 0.5782 GB, free: 110.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004437/0.9221, allocations: 0.8814 MB / 0.579 GB, free: 109.3 MB / 446.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.0003745/0.9225, allocations: 151.2 kB / 0.5792 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005844/0.9283, allocations: 4.678 MB / 0.5837 GB, free: 104.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9283, allocations: 0.5 kB / 0.5837 GB, free: 104.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.9298, allocations: 1.356 MB / 0.5851 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.9329, allocations: 401.5 kB / 0.5854 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.9463, allocations: 10.29 MB / 0.5955 GB, free: 92.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/0.9495, allocations: 3.061 MB / 0.5985 GB, free: 89.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004198/0.9537, allocations: 1.839 MB / 0.6003 GB, free: 87.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.9544, allocations: 255.3 kB / 0.6005 GB, free: 87.19 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.9544, allocations: 0 / 0.6005 GB, free: 87.19 MB / 446.1 MB Notification: Performance of Templates: time 0.05719/1.012, allocations: 33.15 MB / 0.6329 GB, free: 54.2 MB / 446.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