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.001401/0.001401, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 205.8 kB / 18.79 MB, free: 4.102 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.491/1.491, allocations: 230.4 MB / 250 MB, free: 8.992 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.001949/0.001949, allocations: 71.83 kB / 367.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2883, allocations: 53.3 MB / 420.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01467/0.3029, allocations: 13.04 MB / 433.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008577/0.3115, allocations: 4.302 MB / 438 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.3126, allocations: 87.75 kB / 438.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006313/0.3189, allocations: 3.742 MB / 441.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.3234, allocations: 2.029 MB / 443.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3249, allocations: 0.6902 MB / 444.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005162/0.33, allocations: 4.228 MB / 448.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.3346, allocations: 3.945 MB / 452.7 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.3372, allocations: 1.834 MB / 454.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/0.3413, allocations: 2.632 MB / 457.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.3424, allocations: 408 kB / 457.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.3452, allocations: 1.159 MB / 458.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002726/0.3479, allocations: 2.252 MB / 461 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003113/0.351, allocations: 2.579 MB / 463.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009679/0.3607, allocations: 8.108 MB / 471.7 MB, free: 5.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3607, allocations: 0 / 471.7 MB, free: 5.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3607, allocations: 0 / 471.7 MB, free: 5.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002221/0.3609, allocations: 0 / 471.7 MB, free: 5.066 MB / 382.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.01913/0.3801, allocations: 6.32 MB / 478 MB, free: 14.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3801, allocations: 12.03 kB / 478 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006613/0.3867, allocations: 1.986 MB / 480 MB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.3914, allocations: 2.688 MB / 482.7 MB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.3916, allocations: 283.5 kB / 483 MB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007331/0.3923, allocations: 395.8 kB / 483.3 MB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02243/0.4148, allocations: 12.17 MB / 495.5 MB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.4149, allocations: 59.53 kB / 495.6 MB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005676/0.4155, allocations: 179.8 kB / 495.7 MB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004197/0.4197, allocations: 2.198 MB / 497.9 MB, free: 9.883 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/0.444, allocations: 11.13 MB / 0.4971 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3116/0.7557, allocations: 46.47 MB / 0.5425 GB, free: 103.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7731, allocations: 5.171 MB / 0.5476 GB, free: 102.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00349/0.7766, allocations: 3.068 MB / 0.5506 GB, free: 102.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.7771, allocations: 373 kB / 0.5509 GB, free: 102.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.7772, allocations: 56.08 kB / 0.551 GB, free: 102.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 4.088e-06/0.7772, allocations: 0 / 0.551 GB, free: 102.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.06246/0.8396, allocations: 27 MB / 0.5773 GB, free: 88.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.8397, allocations: 162.1 kB / 0.5775 GB, free: 88.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/0.8451, allocations: 4.496 MB / 0.5819 GB, free: 83.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003727/0.8454, allocations: 57.7 kB / 0.5819 GB, free: 83.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.8469, allocations: 3.567 MB / 0.5854 GB, free: 80.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.8478, allocations: 0.9095 MB / 0.5863 GB, free: 79.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.8494, allocations: 1.451 MB / 0.5877 GB, free: 78.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.8495, allocations: 305.1 kB / 0.588 GB, free: 77.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/0.8529, allocations: 3.285 MB / 0.5912 GB, free: 74.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.8577, allocations: 7.219 MB / 0.5983 GB, free: 65.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/0.8669, allocations: 11.32 MB / 0.6093 GB, free: 52.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.138e-05/0.867, allocations: 40 kB / 0.6094 GB, free: 52.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01523/0.8822, allocations: 11.41 MB / 0.6205 GB, free: 40.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.8823, allocations: 64 kB / 0.6206 GB, free: 40.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/0.8824, allocations: 143.9 kB / 0.6207 GB, free: 40.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.8848, allocations: 1.128 MB / 0.6218 GB, free: 39.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005308/0.8901, allocations: 1.712 MB / 0.6235 GB, free: 37.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/0.8962, allocations: 6.344 MB / 0.6297 GB, free: 31.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005447/0.9016, allocations: 415.6 kB / 0.6301 GB, free: 30.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/0.9027, allocations: 450 kB / 0.6305 GB, free: 30.4 MB / 462.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.003464/0.9062, allocations: 2.324 MB / 0.6328 GB, free: 28.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008161/0.907, allocations: 425.2 kB / 0.6332 GB, free: 27.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008083/0.9151, allocations: 6.094 MB / 0.6391 GB, free: 21.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/0.9151, allocations: 24 kB / 0.6392 GB, free: 21.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.9151, allocations: 4 kB / 0.6392 GB, free: 21.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.9151, allocations: 15.95 kB / 0.6392 GB, free: 21.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/0.9328, allocations: 12.75 MB / 0.6516 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.9328, allocations: 4 kB / 0.6516 GB, free: 8.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/0.9354, allocations: 0.5265 MB / 0.6521 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.9377, allocations: 0.9562 MB / 0.6531 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/0.938, allocations: 95.89 kB / 0.6532 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/0.944, allocations: 6.074 MB / 0.6591 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.944, allocations: 4 kB / 0.6591 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/0.9603, allocations: 10.36 MB / 0.6692 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/0.9628, allocations: 0.9041 MB / 0.6701 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006637/0.9634, allocations: 47.44 kB / 0.6702 GB, free: 5.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002148/0.9656, allocations: 159.8 kB / 0.6703 GB, free: 5.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/0.9661, allocations: 177.6 kB / 0.6705 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/0.9664, allocations: 111.8 kB / 0.6706 GB, free: 5.043 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00443/0.9708, allocations: 2.814 MB / 0.6733 GB, free: 2.227 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9708, allocations: 7.938 kB / 0.6733 GB, free: 2.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005647/0.9765, allocations: 1.187 MB / 0.6745 GB, free: 1.031 MB / 478.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.0004924/0.977, allocations: 183.1 kB / 0.6747 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01301/0.99, allocations: 7.482 MB / 0.682 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.99, allocations: 0 / 0.682 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004886/0.9949, allocations: 2.801 MB / 0.6847 GB, free: 6.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/0.9981, allocations: 0.4953 MB / 0.6852 GB, free: 6.086 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.02, allocations: 11.94 MB / 0.6969 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004519/1.025, allocations: 3.624 MB / 0.7004 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005546/1.03, allocations: 2.285 MB / 0.7026 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.032, allocations: 431 kB / 0.703 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/1.032, allocations: 0 / 0.703 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.3272/1.359, allocations: 53.16 MB / 0.755 GB, free: 191.8 MB / 0.545 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/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