Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001402/0.001402, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001095, allocations: 51.91 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2585, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01344/0.272, allocations: 13.11 MB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009621/0.2817, allocations: 4.272 MB / 418.8 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.284, allocations: 79.75 kB / 418.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006927/0.291, allocations: 3.73 MB / 422.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006736/0.2978, allocations: 2.074 MB / 424.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.2998, allocations: 0.6863 MB / 425.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005983/0.3058, allocations: 4.235 MB / 429.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006363/0.3122, allocations: 4.761 MB / 434.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.3156, allocations: 1.85 MB / 436.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.3192, allocations: 2.477 MB / 438.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.3206, allocations: 412 kB / 439.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.3233, allocations: 1.147 MB / 440.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.326, allocations: 2.244 MB / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004017/0.3301, allocations: 2.633 MB / 445.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.339, allocations: 8.222 MB / 453.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3391, allocations: 0 / 453.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3391, allocations: 0 / 453.3 MB, free: 4.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002486/0.3394, allocations: 3.938 kB / 453.3 MB, free: 4.707 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.0216/0.361, allocations: 6.215 MB / 459.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.361, allocations: 12.03 kB / 459.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/0.3686, allocations: 1.952 MB / 461.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005773/0.3744, allocations: 2.706 MB / 464.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.3747, allocations: 291.5 kB / 464.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.3763, allocations: 391.7 kB / 464.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.4016, allocations: 12.38 MB / 477.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.4019, allocations: 43.59 kB / 477.3 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/0.4032, allocations: 183.8 kB / 477.5 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.4077, allocations: 2.256 MB / 479.7 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0237/0.4314, allocations: 11.29 MB / 491 MB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06173/0.4932, allocations: 46.79 MB / 0.5252 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01807/0.5113, allocations: 5.344 MB / 0.5304 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/0.5157, allocations: 3.303 MB / 0.5337 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/0.5164, allocations: 388.4 kB / 0.534 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.5165, allocations: 51.88 kB / 0.5341 GB, free: 4.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 4.539e-06/0.5165, allocations: 0 / 0.5341 GB, free: 4.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.3244/0.8409, allocations: 26.8 MB / 0.5603 GB, free: 121.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.8411, allocations: 161.8 kB / 0.5604 GB, free: 121.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/0.8517, allocations: 4.511 MB / 0.5648 GB, free: 116.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008562/0.8526, allocations: 57.7 kB / 0.5649 GB, free: 116.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003031/0.8557, allocations: 3.463 MB / 0.5683 GB, free: 113.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.8574, allocations: 0.8739 MB / 0.5691 GB, free: 112.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00474/0.8622, allocations: 1.457 MB / 0.5705 GB, free: 110.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.8623, allocations: 301.1 kB / 0.5708 GB, free: 110.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008517/0.8708, allocations: 3.292 MB / 0.574 GB, free: 107.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/0.8817, allocations: 7.239 MB / 0.5811 GB, free: 98.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.9002, allocations: 11.34 MB / 0.5922 GB, free: 84.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/0.9004, allocations: 40 kB / 0.5922 GB, free: 84.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03329/0.9337, allocations: 11.42 MB / 0.6034 GB, free: 73.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.934, allocations: 75.38 kB / 0.6034 GB, free: 73.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002233/0.9342, allocations: 136 kB / 0.6036 GB, free: 73.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005093/0.9393, allocations: 1.122 MB / 0.6047 GB, free: 72.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/0.9507, allocations: 1.727 MB / 0.6064 GB, free: 70.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.9632, allocations: 6.344 MB / 0.6126 GB, free: 63.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/0.9737, allocations: 403.5 kB / 0.6129 GB, free: 63.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/0.9757, allocations: 459.8 kB / 0.6134 GB, free: 62.98 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.00735/0.9831, allocations: 2.353 MB / 0.6157 GB, free: 60.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/0.9848, allocations: 402.8 kB / 0.6161 GB, free: 60.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.003, allocations: 6.105 MB / 0.622 GB, free: 54.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.613e-05/1.003, allocations: 28 kB / 0.622 GB, free: 54.06 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.003, allocations: 8 kB / 0.6221 GB, free: 54.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.987e-05/1.003, allocations: 19.33 kB / 0.6221 GB, free: 54.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03755/1.041, allocations: 12.79 MB / 0.6346 GB, free: 41.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.923e-05/1.041, allocations: 4 kB / 0.6346 GB, free: 41.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005767/1.047, allocations: 0.538 MB / 0.6351 GB, free: 40.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004784/1.052, allocations: 0.949 MB / 0.636 GB, free: 39.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00082/1.053, allocations: 91.66 kB / 0.6361 GB, free: 39.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/1.064, allocations: 6.073 MB / 0.642 GB, free: 33.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/1.064, allocations: 11.88 kB / 0.642 GB, free: 33.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02516/1.09, allocations: 10.34 MB / 0.6521 GB, free: 22.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003929/1.094, allocations: 0.8862 MB / 0.653 GB, free: 22.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001844/1.096, allocations: 40 kB / 0.653 GB, free: 22.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005307/1.101, allocations: 159.8 kB / 0.6532 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/1.102, allocations: 185.6 kB / 0.6534 GB, free: 21.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007122/1.103, allocations: 109 kB / 0.6535 GB, free: 21.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007358/1.11, allocations: 2.818 MB / 0.6562 GB, free: 18.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.112e-06/1.11, allocations: 4 kB / 0.6562 GB, free: 18.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01039/1.121, allocations: 1.208 MB / 0.6574 GB, free: 17.55 MB / 462.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.001126/1.122, allocations: 200.3 kB / 0.6576 GB, free: 17.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01916/1.141, allocations: 7.753 MB / 0.6652 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.141, allocations: 0 / 0.6652 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00749/1.149, allocations: 2.971 MB / 0.6681 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/1.155, allocations: 0.5027 MB / 0.6686 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/1.184, allocations: 12.41 MB / 0.6807 GB, free: 9.672 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006287/1.191, allocations: 3.66 MB / 0.6843 GB, free: 5.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002448/1.193, allocations: 471 kB / 0.6847 GB, free: 5.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.092e-06/1.193, allocations: 0 / 0.6847 GB, free: 5.52 MB / 478.1 MB Notification: Performance of Templates: time 0.3447/1.538, allocations: 94.93 MB / 0.7774 GB, free: 134.6 MB / 0.5137 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches