Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 109.3 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 188.2 kB / 18.66 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 56.3 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.293/0.4103, allocations: 11.75 MB / 386.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.4214, allocations: 3.911 MB / 390.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.4251, allocations: 66.81 kB / 390.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005876/0.431, allocations: 2.711 MB / 393.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006976/0.438, allocations: 1.876 MB / 395.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.44, allocations: 0.5812 MB / 396 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007186/0.4472, allocations: 3.753 MB / 399.8 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004971/0.4522, allocations: 3.687 MB / 403.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.4559, allocations: 1.534 MB / 405 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.4604, allocations: 2.131 MB / 407.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.4615, allocations: 340.6 kB / 407.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.4644, allocations: 1.059 MB / 408.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.4669, allocations: 1.935 MB / 410.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003083/0.47, allocations: 2.24 MB / 412.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00882/0.4788, allocations: 7.182 MB / 419.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4789, allocations: 3.938 kB / 419.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4789, allocations: 4 kB / 419.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002025/0.4791, allocations: 0 / 419.9 MB, free: 2.652 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02007/0.4992, allocations: 5.307 MB / 425.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4992, allocations: 16.03 kB / 425.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/0.5067, allocations: 1.878 MB / 427.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.5126, allocations: 2.385 MB / 429.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.5129, allocations: 238 kB / 429.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/0.5142, allocations: 323.7 kB / 430 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.5357, allocations: 10.71 MB / 440.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.5358, allocations: 47.58 kB / 440.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/0.5364, allocations: 155.8 kB / 440.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003561/0.5399, allocations: 1.989 MB / 442.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.5603, allocations: 9.563 MB / 452.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05768/0.618, allocations: 39.77 MB / 492.3 MB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/0.6323, allocations: 3.829 MB / 496.1 MB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.6352, allocations: 1.858 MB / 497.9 MB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.6359, allocations: 364 kB / 498.3 MB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.6359, allocations: 47.56 kB / 498.3 MB, free: 1.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.29e-06/0.636, allocations: 0 / 498.3 MB, free: 1.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04818/0.6841, allocations: 13.77 MB / 0.5001 GB, free: 4.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.6843, allocations: 149.5 kB / 0.5002 GB, free: 3.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/0.6904, allocations: 4.163 MB / 0.5043 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003544/0.6907, allocations: 45.7 kB / 0.5044 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.6929, allocations: 3.164 MB / 0.5074 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008099/0.6937, allocations: 0.6135 MB / 0.508 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.6952, allocations: 1.233 MB / 0.5093 GB, free: 10.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6953, allocations: 301.1 kB / 0.5095 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/0.6985, allocations: 2.135 MB / 0.5116 GB, free: 8.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/0.7044, allocations: 5.964 MB / 0.5174 GB, free: 304 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/0.7147, allocations: 8.768 MB / 0.526 GB, free: 5.613 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.271e-05/0.7148, allocations: 40 kB / 0.526 GB, free: 5.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01622/0.7311, allocations: 8.58 MB / 0.5344 GB, free: 12.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.7312, allocations: 67.98 kB / 0.5345 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/0.7315, allocations: 136 kB / 0.5346 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.7341, allocations: 0.9118 MB / 0.5355 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/0.7385, allocations: 1.396 MB / 0.5369 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006706/0.7452, allocations: 5.203 MB / 0.542 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/0.7497, allocations: 331.6 kB / 0.5423 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009681/0.7507, allocations: 384 kB / 0.5426 GB, free: 4.426 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (740): * Single equations (assignments): 736 * 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.003766/0.7544, allocations: 2.111 MB / 0.5447 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007749/0.7552, allocations: 343.5 kB / 0.545 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2411/0.9963, allocations: 3.141 MB / 0.5481 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-05/0.9964, allocations: 17.5 kB / 0.5481 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/0.9965, allocations: 5 kB / 0.5481 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.725e-05/0.9965, allocations: 7.766 kB / 0.5481 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/1.013, allocations: 7.806 MB / 0.5557 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.013, allocations: 2.422 kB / 0.5557 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.014, allocations: 258.6 kB / 0.556 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/1.016, allocations: 0.7151 MB / 0.5567 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.016, allocations: 37.73 kB / 0.5567 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005992/1.022, allocations: 4.748 MB / 0.5614 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.022, allocations: 4.594 kB / 0.5614 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008522/1.031, allocations: 5.688 MB / 0.5669 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.033, allocations: 0.6234 MB / 0.5675 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/1.033, allocations: 22.25 kB / 0.5676 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.034, allocations: 86.25 kB / 0.5676 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.035, allocations: 103.9 kB / 0.5677 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.035, allocations: 51.52 kB / 0.5678 GB, free: 138.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003888/1.039, allocations: 2.606 MB / 0.5703 GB, free: 137.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.91e-07/1.039, allocations: 3.938 kB / 0.5703 GB, free: 137.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005393/1.044, allocations: 0.9685 MB / 0.5713 GB, free: 137.4 MB / 478.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 (123): * Single equations (assignments): 119 * 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.0004557/1.045, allocations: 159.5 kB / 0.5714 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007024/1.052, allocations: 5.098 MB / 0.5764 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.052, allocations: 0 / 0.5764 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/1.054, allocations: 1.532 MB / 0.5779 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.057, allocations: 443 kB / 0.5783 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.071, allocations: 8.971 MB / 0.5871 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/1.074, allocations: 3.248 MB / 0.5903 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003692/1.078, allocations: 1.927 MB / 0.5921 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/1.078, allocations: 271.3 kB / 0.5924 GB, free: 125.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/1.078, allocations: 0 / 0.5924 GB, free: 125.5 MB / 478.1 MB Notification: Performance of Templates: time 0.05407/1.132, allocations: 33.83 MB / 0.6254 GB, free: 91.69 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches