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.00151/0.00151, allocations: 104.4 kB / 16.62 MB, free: 6.809 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.001686/0.001686, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.368/1.368, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 46.77 kB / 300.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1012, allocations: 49.45 MB / 349.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2202/0.3214, allocations: 65.56 MB / 415.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03015/0.3516, allocations: 12.85 MB / 428 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01355/0.3652, allocations: 279.3 kB / 428.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007145/0.3724, allocations: 3.595 MB / 431.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.378, allocations: 1.894 MB / 433.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.3797, allocations: 0.632 MB / 434.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005884/0.3856, allocations: 4.261 MB / 438.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005939/0.3916, allocations: 5.04 MB / 443.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.3945, allocations: 1.869 MB / 445.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.398, allocations: 2.734 MB / 448.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008276/0.3989, allocations: 412 kB / 448.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.401, allocations: 1.155 MB / 449.8 MB, free: 376 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.403, allocations: 2.252 MB / 452.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00266/0.4057, allocations: 2.661 MB / 454.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008851/0.4146, allocations: 8.014 MB / 462.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4146, allocations: 3.938 kB / 462.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.4146, allocations: 4 kB / 462.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002522/0.4149, allocations: 0 / 462.8 MB, free: 3.387 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.02107/0.436, allocations: 6.215 MB / 469 MB, free: 13.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.436, allocations: 8.031 kB / 469 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007024/0.4431, allocations: 1.959 MB / 471 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/0.4487, allocations: 2.651 MB / 473.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.4489, allocations: 295.5 kB / 473.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.45, allocations: 387.8 kB / 474.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/0.4721, allocations: 12.37 MB / 486.6 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.4723, allocations: 51.52 kB / 486.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005417/0.4729, allocations: 183.8 kB / 486.9 MB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004157/0.477, allocations: 2.249 MB / 489.1 MB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.4999, allocations: 11.3 MB / 0.4887 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2138/0.7138, allocations: 46.99 MB / 0.5346 GB, free: 141.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/0.732, allocations: 5.34 MB / 0.5398 GB, free: 141.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004248/0.7363, allocations: 3.311 MB / 0.543 GB, free: 141.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.737, allocations: 377.4 kB / 0.5434 GB, free: 140.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.737, allocations: 61 kB / 0.5434 GB, free: 140.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.869e-06/0.737, allocations: 0 / 0.5434 GB, free: 140.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06857/0.8056, allocations: 26.81 MB / 0.5696 GB, free: 130.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.8057, allocations: 158 kB / 0.5698 GB, free: 130.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/0.8106, allocations: 4.508 MB / 0.5742 GB, free: 125.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.8112, allocations: 57.7 kB / 0.5742 GB, free: 125.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001624/0.8129, allocations: 3.465 MB / 0.5776 GB, free: 122.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009308/0.8138, allocations: 0.8814 MB / 0.5785 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.8154, allocations: 1.45 MB / 0.5799 GB, free: 119.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.846e-05/0.8155, allocations: 304.7 kB / 0.5802 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003661/0.8192, allocations: 3.289 MB / 0.5834 GB, free: 116.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005288/0.8245, allocations: 7.24 MB / 0.5905 GB, free: 107.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.8353, allocations: 11.34 MB / 0.6015 GB, free: 94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.225e-05/0.8354, allocations: 40 kB / 0.6016 GB, free: 93.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01763/0.853, allocations: 11.42 MB / 0.6127 GB, free: 82.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.22e-05/0.8531, allocations: 75.98 kB / 0.6128 GB, free: 82.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.8533, allocations: 136 kB / 0.6129 GB, free: 82.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.8558, allocations: 1.132 MB / 0.614 GB, free: 81.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006175/0.862, allocations: 1.723 MB / 0.6157 GB, free: 79.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00686/0.8689, allocations: 6.353 MB / 0.6219 GB, free: 72.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005847/0.8747, allocations: 400.1 kB / 0.6223 GB, free: 72.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008852/0.8756, allocations: 455.8 kB / 0.6227 GB, free: 72.14 MB / 446.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.002961/0.8786, allocations: 2.346 MB / 0.625 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006827/0.8793, allocations: 406.7 kB / 0.6254 GB, free: 69.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/0.8875, allocations: 6.117 MB / 0.6314 GB, free: 63.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.8875, allocations: 31.98 kB / 0.6314 GB, free: 63.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8875, allocations: 6.625 kB / 0.6314 GB, free: 63.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.8876, allocations: 7.969 kB / 0.6314 GB, free: 63.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.9044, allocations: 12.92 MB / 0.6441 GB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.9045, allocations: 4 kB / 0.6441 GB, free: 50.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/0.907, allocations: 0.5304 MB / 0.6446 GB, free: 49.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.9093, allocations: 0.9453 MB / 0.6455 GB, free: 48.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002615/0.9096, allocations: 95.02 kB / 0.6456 GB, free: 48.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/0.9155, allocations: 6.048 MB / 0.6515 GB, free: 42.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.9156, allocations: 4 kB / 0.6515 GB, free: 42.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.9275, allocations: 10.34 MB / 0.6616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.9293, allocations: 0.8862 MB / 0.6625 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005858/0.9299, allocations: 43.94 kB / 0.6625 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/0.932, allocations: 155.8 kB / 0.6627 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004834/0.9325, allocations: 185.6 kB / 0.6628 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/0.9328, allocations: 107.8 kB / 0.6629 GB, free: 30.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003207/0.936, allocations: 2.83 MB / 0.6657 GB, free: 27.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.936, allocations: 0 / 0.6657 GB, free: 27.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005179/0.9412, allocations: 1.211 MB / 0.6669 GB, free: 26.63 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.0004713/0.9417, allocations: 187.8 kB / 0.6671 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01263/0.9543, allocations: 9.778 MB / 0.6766 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9543, allocations: 4 kB / 0.6766 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.9577, allocations: 2.965 MB / 0.6795 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003099/0.9609, allocations: 0.497 MB / 0.68 GB, free: 13.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.189/1.15, allocations: 14.3 MB / 0.694 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005304/1.155, allocations: 3.659 MB / 0.6975 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006915/1.162, allocations: 2.301 MB / 0.6998 GB, free: 137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001915/1.164, allocations: 418.2 kB / 0.7002 GB, free: 137 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/1.164, allocations: 3 kB / 0.7002 GB, free: 137 MB / 446.1 MB Notification: Performance of Templates: time 0.0947/1.259, allocations: 56.28 MB / 0.7551 GB, free: 98.46 MB / 446.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/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