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.001128/0.001128, allocations: 111 kB / 17.74 MB, free: 5.34 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.00106/0.00106, allocations: 192.3 kB / 18.67 MB, free: 4.414 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.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3065, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01434/0.3209, allocations: 13.1 MB / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009337/0.3303, allocations: 4.282 MB / 418.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/0.333, allocations: 79.81 kB / 418.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006991/0.3401, allocations: 3.726 MB / 422.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.3461, allocations: 2.033 MB / 424.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3481, allocations: 0.6785 MB / 425.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006643/0.3548, allocations: 4.231 MB / 429.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005852/0.3607, allocations: 4.757 MB / 434.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.3643, allocations: 1.85 MB / 436.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/0.3685, allocations: 2.477 MB / 438.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.3701, allocations: 412 kB / 439 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.3732, allocations: 1.147 MB / 440.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.3759, allocations: 2.252 MB / 442.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003697/0.3796, allocations: 2.629 MB / 445.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3897, allocations: 8.223 MB / 453.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.3898, allocations: 0 / 453.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3898, allocations: 0 / 453.3 MB, free: 4.781 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003124/0.3901, allocations: 0 / 453.3 MB, free: 4.781 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.0228/0.4129, allocations: 6.215 MB / 459.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.413, allocations: 12.03 kB / 459.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008232/0.4212, allocations: 1.956 MB / 461.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006276/0.4276, allocations: 2.702 MB / 464.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.4279, allocations: 299.5 kB / 464.5 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.4298, allocations: 391.7 kB / 464.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/0.4567, allocations: 12.37 MB / 477.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.4571, allocations: 47.53 kB / 477.3 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/0.4587, allocations: 183.8 kB / 477.4 MB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004593/0.4633, allocations: 2.249 MB / 479.7 MB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.4874, allocations: 11.29 MB / 491 MB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06436/0.5518, allocations: 46.8 MB / 0.5252 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/0.5704, allocations: 5.344 MB / 0.5304 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004921/0.5753, allocations: 3.311 MB / 0.5336 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009528/0.5764, allocations: 380.4 kB / 0.534 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.923e-05/0.5765, allocations: 55.81 kB / 0.534 GB, free: 4.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 9.848e-06/0.5765, allocations: 0 / 0.534 GB, free: 4.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.2995/0.876, allocations: 26.81 MB / 0.5602 GB, free: 121.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.8761, allocations: 154.4 kB / 0.5604 GB, free: 121.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00508/0.8812, allocations: 4.511 MB / 0.5648 GB, free: 116.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006349/0.8819, allocations: 61.7 kB / 0.5648 GB, free: 116.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.8835, allocations: 3.457 MB / 0.5682 GB, free: 113.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.8845, allocations: 0.8814 MB / 0.5691 GB, free: 112.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/0.8862, allocations: 1.446 MB / 0.5705 GB, free: 111 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.8863, allocations: 305.1 kB / 0.5708 GB, free: 110.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/0.8898, allocations: 3.288 MB / 0.574 GB, free: 107.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005072/0.8949, allocations: 7.239 MB / 0.5811 GB, free: 98.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/0.9051, allocations: 11.34 MB / 0.5921 GB, free: 84.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/0.9052, allocations: 44 kB / 0.5922 GB, free: 84.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01806/0.9233, allocations: 11.43 MB / 0.6033 GB, free: 73.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/0.9234, allocations: 64.19 kB / 0.6034 GB, free: 73.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.9236, allocations: 144 kB / 0.6035 GB, free: 73.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002558/0.9261, allocations: 1.125 MB / 0.6046 GB, free: 72.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005915/0.9321, allocations: 1.723 MB / 0.6063 GB, free: 70.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.9387, allocations: 6.342 MB / 0.6125 GB, free: 63.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005972/0.9447, allocations: 407.4 kB / 0.6129 GB, free: 63.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/0.9462, allocations: 459.8 kB / 0.6133 GB, free: 63.1 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.00509/0.9514, allocations: 2.35 MB / 0.6156 GB, free: 60.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/0.9528, allocations: 402.8 kB / 0.616 GB, free: 60.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.9637, allocations: 6.109 MB / 0.622 GB, free: 54.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.166e-05/0.9638, allocations: 28 kB / 0.622 GB, free: 54.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/0.9639, allocations: 8 kB / 0.622 GB, free: 54.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.634e-05/0.9639, allocations: 10.5 kB / 0.622 GB, free: 54.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/0.9867, allocations: 12.8 MB / 0.6345 GB, free: 41.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/0.9867, allocations: 4 kB / 0.6345 GB, free: 41.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/0.9896, allocations: 0.5343 MB / 0.635 GB, free: 40.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002412/0.9921, allocations: 0.9524 MB / 0.636 GB, free: 39.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005651/0.9926, allocations: 83.89 kB / 0.6361 GB, free: 39.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006515/0.9992, allocations: 6.077 MB / 0.642 GB, free: 33.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.9992, allocations: 7.938 kB / 0.642 GB, free: 33.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/1.013, allocations: 10.34 MB / 0.6521 GB, free: 23.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.015, allocations: 0.8823 MB / 0.653 GB, free: 22.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.017, allocations: 43.83 kB / 0.653 GB, free: 22.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002983/1.02, allocations: 164 kB / 0.6532 GB, free: 21.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006998/1.02, allocations: 181.6 kB / 0.6533 GB, free: 21.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/1.021, allocations: 111.9 kB / 0.6534 GB, free: 21.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004952/1.026, allocations: 2.826 MB / 0.6562 GB, free: 18.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.026, allocations: 0 / 0.6562 GB, free: 18.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007278/1.033, allocations: 1.21 MB / 0.6574 GB, free: 17.66 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.0009321/1.034, allocations: 192 kB / 0.6576 GB, free: 17.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.045, allocations: 7.753 MB / 0.6651 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.045, allocations: 0 / 0.6651 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004125/1.049, allocations: 2.973 MB / 0.668 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004974/1.054, allocations: 0.5014 MB / 0.6685 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/1.078, allocations: 12.42 MB / 0.6806 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00599/1.084, allocations: 3.653 MB / 0.6842 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/1.086, allocations: 471.1 kB / 0.6847 GB, free: 5.648 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/1.086, allocations: 0 / 0.6847 GB, free: 5.648 MB / 478.1 MB Notification: Performance of Templates: time 0.3762/1.463, allocations: 94.94 MB / 0.7774 GB, free: 134.7 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