Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.477/1.477, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 69.89 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 50.53 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01542/0.1212, allocations: 12.98 MB / 371.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1748/0.2961, allocations: 4.289 MB / 375.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.2983, allocations: 81.94 kB / 375.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007073/0.3054, allocations: 3.711 MB / 379.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006527/0.312, allocations: 1.971 MB / 381.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.314, allocations: 0.6959 MB / 382.2 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007233/0.3213, allocations: 4.215 MB / 386.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007073/0.3284, allocations: 4.752 MB / 391.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.3322, allocations: 1.822 MB / 393 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004054/0.3363, allocations: 2.452 MB / 395.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.3379, allocations: 407.3 kB / 395.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.341, allocations: 1.12 MB / 396.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002175/0.3432, allocations: 2.18 MB / 399.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003771/0.347, allocations: 2.589 MB / 401.7 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009762/0.3568, allocations: 7.81 MB / 409.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3568, allocations: 4 kB / 409.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3568, allocations: 3.938 kB / 409.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000231/0.357, allocations: 0 / 409.5 MB, free: 6.422 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02227/0.3793, allocations: 6.18 MB / 415.7 MB, free: 288 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3794, allocations: 12.03 kB / 415.7 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.3867, allocations: 1.964 MB / 417.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/0.3929, allocations: 2.612 MB / 420.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.3932, allocations: 290.4 kB / 420.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/0.3948, allocations: 389.6 kB / 420.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/0.4203, allocations: 12.18 MB / 433.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/0.4205, allocations: 47.59 kB / 433.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005678/0.4211, allocations: 183.1 kB / 433.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004255/0.4254, allocations: 2.189 MB / 435.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.4502, allocations: 11.13 MB / 446.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06615/0.5164, allocations: 46.6 MB / 493.3 MB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/0.5347, allocations: 5.339 MB / 498.6 MB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004802/0.5395, allocations: 3.312 MB / 0.4902 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/0.5403, allocations: 375.7 kB / 0.4905 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.5404, allocations: 51.88 kB / 0.4906 GB, free: 7.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 4.989e-06/0.5404, allocations: 4 kB / 0.4906 GB, free: 7.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.07933/0.6197, allocations: 26.76 MB / 0.5167 GB, free: 13.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.6199, allocations: 158.6 kB / 0.5168 GB, free: 12.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006858/0.6267, allocations: 4.484 MB / 0.5212 GB, free: 8.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006725/0.6275, allocations: 61.64 kB / 0.5213 GB, free: 8.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002811/0.6303, allocations: 3.43 MB / 0.5246 GB, free: 4.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.6317, allocations: 0.8764 MB / 0.5255 GB, free: 4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/0.6339, allocations: 1.448 MB / 0.5269 GB, free: 2.543 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.634, allocations: 305.1 kB / 0.5272 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1922/0.8262, allocations: 3.279 MB / 0.5304 GB, free: 140.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008268/0.8345, allocations: 7.22 MB / 0.5374 GB, free: 134.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/0.8477, allocations: 11.3 MB / 0.5485 GB, free: 126.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/0.848, allocations: 44.16 kB / 0.5485 GB, free: 126.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01873/0.8667, allocations: 11.41 MB / 0.5597 GB, free: 122.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.8668, allocations: 64.69 kB / 0.5597 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.867, allocations: 138.6 kB / 0.5599 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.8695, allocations: 1.127 MB / 0.561 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/0.8751, allocations: 1.722 MB / 0.5626 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/0.8817, allocations: 6.345 MB / 0.5688 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/0.8872, allocations: 404.1 kB / 0.5692 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/0.8883, allocations: 450.5 kB / 0.5696 GB, free: 118.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.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 (834): * Single equations (assignments): 830 * 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.003445/0.8918, allocations: 2.334 MB / 0.5719 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007127/0.8925, allocations: 403.8 kB / 0.5723 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008208/0.9007, allocations: 6.111 MB / 0.5783 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-05/0.9008, allocations: 28 kB / 0.5783 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.9008, allocations: 4 kB / 0.5783 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.9008, allocations: 15.67 kB / 0.5783 GB, free: 111.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.9186, allocations: 12.85 MB / 0.5909 GB, free: 98.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.9187, allocations: 7.641 kB / 0.5909 GB, free: 98.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002779/0.9215, allocations: 0.5382 MB / 0.5914 GB, free: 98.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.9238, allocations: 0.9488 MB / 0.5923 GB, free: 97.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/0.9242, allocations: 83.89 kB / 0.5924 GB, free: 97.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005972/0.9302, allocations: 6.049 MB / 0.5983 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.9302, allocations: 9.625 kB / 0.5983 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.9424, allocations: 10.33 MB / 0.6084 GB, free: 80.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/0.9444, allocations: 0.8818 MB / 0.6093 GB, free: 80.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007319/0.9452, allocations: 40 kB / 0.6093 GB, free: 80.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/0.9475, allocations: 165.9 kB / 0.6095 GB, free: 79.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/0.948, allocations: 181.6 kB / 0.6097 GB, free: 79.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/0.9482, allocations: 111.8 kB / 0.6098 GB, free: 79.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003705/0.9519, allocations: 2.814 MB / 0.6125 GB, free: 76.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.9519, allocations: 0 / 0.6125 GB, free: 76.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005917/0.9579, allocations: 1.186 MB / 0.6137 GB, free: 75.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0005905/0.9585, allocations: 186.7 kB / 0.6138 GB, free: 75.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01397/0.9725, allocations: 9.76 MB / 0.6234 GB, free: 65.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/0.9725, allocations: 8 kB / 0.6234 GB, free: 65.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004263/0.9768, allocations: 2.969 MB / 0.6263 GB, free: 62.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.98, allocations: 0.4917 MB / 0.6268 GB, free: 62.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.998, allocations: 12.42 MB / 0.6389 GB, free: 49.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/1.002, allocations: 3.62 MB / 0.6424 GB, free: 46.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.004, allocations: 463.1 kB / 0.6429 GB, free: 45.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/1.004, allocations: 0 / 0.6429 GB, free: 45.64 MB / 446.1 MB Notification: Performance of Templates: time 0.308/1.312, allocations: 93.28 MB / 0.734 GB, free: 117.9 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches