Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001719/0.001719, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3018, allocations: 49.43 MB / 400.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01356/0.3154, allocations: 11.13 MB / 411.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00893/0.3244, allocations: 3.811 MB / 415.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.3269, allocations: 67.81 kB / 415.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00592/0.3329, allocations: 2.694 MB / 418.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00521/0.3382, allocations: 1.805 MB / 420.2 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3398, allocations: 0.5654 MB / 420.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005326/0.3451, allocations: 3.594 MB / 424.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00538/0.3506, allocations: 3.62 MB / 428 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.3538, allocations: 1.464 MB / 429.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003796/0.3576, allocations: 2.001 MB / 431.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.359, allocations: 320 kB / 431.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.3618, allocations: 1.069 MB / 432.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002806/0.3647, allocations: 1.816 MB / 434.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004269/0.369, allocations: 2.128 MB / 436.8 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009532/0.3785, allocations: 6.836 MB / 443.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3785, allocations: 0 / 443.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3786, allocations: 0 / 443.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000266/0.3788, allocations: 0 / 443.6 MB, free: 13.93 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01935/0.3982, allocations: 5.231 MB / 448.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3983, allocations: 12.03 kB / 448.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.4048, allocations: 1.87 MB / 450.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004369/0.4091, allocations: 2.288 MB / 453 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.4093, allocations: 225.8 kB / 453.2 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006258/0.41, allocations: 295.8 kB / 453.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.4283, allocations: 10.22 MB / 463.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.4285, allocations: 43.64 kB / 463.8 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004397/0.429, allocations: 143.9 kB / 463.9 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003245/0.4322, allocations: 1.872 MB / 465.8 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01811/0.4503, allocations: 9.116 MB / 474.9 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/0.4966, allocations: 38.23 MB / 0.5011 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.5095, allocations: 3.581 MB / 0.5046 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.5118, allocations: 1.677 MB / 0.5063 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000563/0.5124, allocations: 367.6 kB / 0.5066 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.5124, allocations: 39.12 kB / 0.5066 GB, free: 0.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.498e-06/0.5124, allocations: 0 / 0.5066 GB, free: 0.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04147/0.5539, allocations: 12.96 MB / 0.5193 GB, free: 3.523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.554, allocations: 145.1 kB / 0.5194 GB, free: 3.352 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/0.5594, allocations: 4.073 MB / 0.5234 GB, free: 15.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.5597, allocations: 41.7 kB / 0.5235 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.5618, allocations: 3.174 MB / 0.5266 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006255/0.5624, allocations: 0.5661 MB / 0.5271 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00133/0.5638, allocations: 1.182 MB / 0.5283 GB, free: 10.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.5639, allocations: 309.1 kB / 0.5286 GB, free: 9.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/0.5665, allocations: 1.963 MB / 0.5305 GB, free: 7.961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005133/0.5717, allocations: 5.676 MB / 0.536 GB, free: 424 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2599/0.8316, allocations: 8.287 MB / 0.5441 GB, free: 119.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.731e-05/0.8317, allocations: 39.28 kB / 0.5441 GB, free: 119.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01275/0.8445, allocations: 8.117 MB / 0.5521 GB, free: 116.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.8446, allocations: 61 kB / 0.5521 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.8447, allocations: 133.9 kB / 0.5523 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.8468, allocations: 0.9083 MB / 0.5531 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/0.8502, allocations: 1.324 MB / 0.5544 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.8554, allocations: 5.2 MB / 0.5595 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.8591, allocations: 305.5 kB / 0.5598 GB, free: 112.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004712/0.8596, allocations: 379.3 kB / 0.5602 GB, free: 112.1 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (702): * Single equations (assignments): 698 * 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.002223/0.8618, allocations: 2.012 MB / 0.5621 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.8623, allocations: 351.7 kB / 0.5625 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.8666, allocations: 2.766 MB / 0.5652 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.8667, allocations: 20.88 kB / 0.5652 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.8667, allocations: 7.984 kB / 0.5652 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.8667, allocations: 3.984 kB / 0.5652 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.8769, allocations: 7.113 MB / 0.5721 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.877, allocations: 6.5 kB / 0.5722 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/0.8779, allocations: 223.7 kB / 0.5724 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001891/0.8798, allocations: 0.7108 MB / 0.5731 GB, free: 99.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8799, allocations: 34.59 kB / 0.5731 GB, free: 99.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00476/0.8847, allocations: 4.745 MB / 0.5777 GB, free: 95.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8847, allocations: 4.031 kB / 0.5777 GB, free: 95.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006279/0.891, allocations: 5.108 MB / 0.5827 GB, free: 90 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/0.8919, allocations: 408.9 kB / 0.5831 GB, free: 89.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/0.8922, allocations: 24.38 kB / 0.5831 GB, free: 89.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.8933, allocations: 71.91 kB / 0.5832 GB, free: 89.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.8935, allocations: 84.53 kB / 0.5833 GB, free: 89.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/0.8936, allocations: 43.97 kB / 0.5833 GB, free: 89.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0029/0.8966, allocations: 2.549 MB / 0.5858 GB, free: 86.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8966, allocations: 7.938 kB / 0.5858 GB, free: 86.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004133/0.9007, allocations: 0.91 MB / 0.5867 GB, free: 85.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.901, allocations: 151 kB / 0.5869 GB, free: 85.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005465/0.9065, allocations: 4.689 MB / 0.5914 GB, free: 81.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.9065, allocations: 4.062 kB / 0.5914 GB, free: 81.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.9079, allocations: 1.354 MB / 0.5928 GB, free: 79.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.9101, allocations: 429.2 kB / 0.5932 GB, free: 79.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.9207, allocations: 8.545 MB / 0.6015 GB, free: 70.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.9231, allocations: 3.105 MB / 0.6045 GB, free: 67.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003349/0.9265, allocations: 1.832 MB / 0.6063 GB, free: 65.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000599/0.9271, allocations: 255.3 kB / 0.6066 GB, free: 65.45 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9271, allocations: 0 / 0.6066 GB, free: 65.45 MB / 462.1 MB Notification: Performance of Templates: time 0.05159/0.9787, allocations: 32.04 MB / 0.6379 GB, free: 33.63 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches