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.001236/0.001236, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 55.41 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01198/0.1201, allocations: 10.99 MB / 369.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1791/0.2992, allocations: 3.825 MB / 373.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.3009, allocations: 62.16 kB / 373.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.3057, allocations: 2.674 MB / 376.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004266/0.31, allocations: 1.761 MB / 378.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3116, allocations: 0.5778 MB / 378.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005473/0.3171, allocations: 3.574 MB / 382.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004443/0.3215, allocations: 3.601 MB / 386 MB, free: 7.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.3246, allocations: 1.448 MB / 387.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003863/0.3285, allocations: 1.981 MB / 389.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008328/0.3293, allocations: 320 kB / 389.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3317, allocations: 1.039 MB / 390.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.3335, allocations: 1.776 MB / 392.5 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002268/0.3358, allocations: 2.08 MB / 394.6 MB, free: 2.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.3424, allocations: 6.648 MB / 401.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3424, allocations: 0 / 401.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3424, allocations: 7.938 kB / 401.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.3427, allocations: 4 kB / 401.3 MB, free: 14.38 MB / 318.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.01713/0.3598, allocations: 5.039 MB / 406.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3599, allocations: 8.031 kB / 406.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006686/0.3666, allocations: 1.854 MB / 408.2 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/0.3715, allocations: 2.248 MB / 410.4 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.3717, allocations: 221.6 kB / 410.6 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005767/0.3723, allocations: 295.2 kB / 410.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.3892, allocations: 10.01 MB / 420.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.3894, allocations: 51.58 kB / 421 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.3898, allocations: 145.9 kB / 421.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.3927, allocations: 1.793 MB / 422.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.4113, allocations: 8.969 MB / 431.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04557/0.4569, allocations: 37.74 MB / 469.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/0.4695, allocations: 3.582 MB / 473.2 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.4719, allocations: 1.678 MB / 474.9 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/0.4725, allocations: 351.9 kB / 475.2 MB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.4726, allocations: 51.12 kB / 475.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.469e-06/0.4726, allocations: 0 / 475.3 MB, free: 2.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.03916/0.5118, allocations: 12.67 MB / 488 MB, free: 5.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.5119, allocations: 145.1 kB / 488.1 MB, free: 5.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/0.5176, allocations: 4.052 MB / 492.1 MB, free: 1.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004038/0.518, allocations: 45.89 kB / 492.2 MB, free: 1.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.5205, allocations: 3.008 MB / 495.2 MB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008272/0.5213, allocations: 0.5436 MB / 495.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.523, allocations: 1.176 MB / 496.9 MB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5231, allocations: 305.1 kB / 497.2 MB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.5263, allocations: 1.967 MB / 499.2 MB, free: 10.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/0.5315, allocations: 5.654 MB / 0.493 GB, free: 3.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.5417, allocations: 8.241 MB / 0.5011 GB, free: 9.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/0.5419, allocations: 44 kB / 0.5011 GB, free: 9.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01596/0.5578, allocations: 8.075 MB / 0.509 GB, free: 0.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/0.558, allocations: 64 kB / 0.509 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001901/0.5582, allocations: 132 kB / 0.5092 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.5609, allocations: 0.9104 MB / 0.5101 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/0.5652, allocations: 1.314 MB / 0.5113 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.5721, allocations: 5.196 MB / 0.5164 GB, free: 9.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/0.5766, allocations: 307.6 kB / 0.5167 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009931/0.5777, allocations: 368 kB / 0.5171 GB, free: 8.504 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.003589/0.5813, allocations: 1.986 MB / 0.519 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007747/0.582, allocations: 339.6 kB / 0.5193 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/0.5872, allocations: 2.763 MB / 0.522 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.901e-05/0.5872, allocations: 16 kB / 0.522 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.5873, allocations: 4 kB / 0.522 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5873, allocations: 7.922 kB / 0.522 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2112/0.7985, allocations: 7.059 MB / 0.5289 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.7985, allocations: 1.375 kB / 0.5289 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7996, allocations: 216.7 kB / 0.5291 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/0.8017, allocations: 0.7124 MB / 0.5298 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.8019, allocations: 31.84 kB / 0.5299 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00582/0.8077, allocations: 4.75 MB / 0.5345 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8077, allocations: 2.031 kB / 0.5345 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008041/0.8158, allocations: 5.089 MB / 0.5395 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.8171, allocations: 387.5 kB / 0.5399 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/0.8175, allocations: 22.91 kB / 0.5399 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.8187, allocations: 67.23 kB / 0.5399 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.8191, allocations: 96.34 kB / 0.54 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.8192, allocations: 52.39 kB / 0.5401 GB, free: 133.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004125/0.8233, allocations: 2.529 MB / 0.5426 GB, free: 132.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.8233, allocations: 0 / 0.5426 GB, free: 132.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004716/0.8281, allocations: 0.8828 MB / 0.5434 GB, free: 132.2 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.0003724/0.8284, allocations: 162.9 kB / 0.5436 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006201/0.8347, allocations: 4.677 MB / 0.5481 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8347, allocations: 0 / 0.5481 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.8362, allocations: 1.346 MB / 0.5495 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8387, allocations: 435.7 kB / 0.5499 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.851, allocations: 8.306 MB / 0.558 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/0.8536, allocations: 3.058 MB / 0.561 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00349/0.8571, allocations: 1.851 MB / 0.5628 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/0.8577, allocations: 250.4 kB / 0.563 GB, free: 123.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.823e-06/0.8577, allocations: 0 / 0.563 GB, free: 123.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05045/0.9082, allocations: 29.76 MB / 0.5921 GB, free: 94.19 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/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